org.cougaar.tutorial.booksonline.assets
Class PricePGImpl
java.lang.Object
java.beans.SimpleBeanInfo
org.cougaar.tutorial.booksonline.assets.PricePGImpl
- All Implemented Interfaces:
- java.beans.BeanInfo, java.lang.Cloneable, org.cougaar.planning.ldm.dq.HasDataQuality, NewPricePG, org.cougaar.planning.ldm.asset.NewPropertyGroup, PricePG, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
- Direct Known Subclasses:
- PricePGImpl.DQ
- public class PricePGImpl
- extends java.beans.SimpleBeanInfo
- implements NewPricePG, java.lang.Cloneable
- See Also:
- Serialized Form
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PricePGImpl
public PricePGImpl()
PricePGImpl
public PricePGImpl(PricePG original)
getListPrice
public float getListPrice()
- Description copied from interface:
PricePG
- suggested price by Publisher
- Specified by:
getListPrice in interface PricePG
setListPrice
public void setListPrice(float listPrice)
- Specified by:
setListPrice in interface NewPricePG
getOurPrice
public float getOurPrice()
- Description copied from interface:
PricePG
- price we charge
- Specified by:
getOurPrice in interface PricePG
setOurPrice
public void setOurPrice(float ourPrice)
- Specified by:
setOurPrice in interface NewPricePG
getEndDateOfDiscount
public long getEndDateOfDiscount()
- Description copied from interface:
PricePG
- Date special pricing ends, if ever
- Specified by:
getEndDateOfDiscount in interface PricePG
setEndDateOfDiscount
public void setEndDateOfDiscount(long endDateOfDiscount)
- Specified by:
setEndDateOfDiscount in interface NewPricePG
hasDataQuality
public boolean hasDataQuality()
- Specified by:
hasDataQuality in interface org.cougaar.planning.ldm.asset.PropertyGroup
getDataQuality
public org.cougaar.planning.ldm.dq.DataQuality getDataQuality()
- Specified by:
getDataQuality in interface org.cougaar.planning.ldm.dq.HasDataQuality
lock
public org.cougaar.planning.ldm.asset.PropertyGroup lock(java.lang.Object key)
- Specified by:
lock in interface org.cougaar.planning.ldm.asset.PropertyGroup
lock
public org.cougaar.planning.ldm.asset.PropertyGroup lock()
- Specified by:
lock in interface org.cougaar.planning.ldm.asset.PropertyGroup
unlock
public org.cougaar.planning.ldm.asset.NewPropertyGroup unlock(java.lang.Object key)
- Specified by:
unlock in interface org.cougaar.planning.ldm.asset.PropertyGroup
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone in interface org.cougaar.planning.ldm.asset.PropertyGroup
- Throws:
java.lang.CloneNotSupportedException
copy
public org.cougaar.planning.ldm.asset.PropertyGroup copy()
- Specified by:
copy in interface org.cougaar.planning.ldm.asset.PropertyGroup
getPrimaryClass
public java.lang.Class getPrimaryClass()
- Specified by:
getPrimaryClass in interface org.cougaar.planning.ldm.asset.PropertyGroup
getAssetGetMethod
public java.lang.String getAssetGetMethod()
- Specified by:
getAssetGetMethod in interface org.cougaar.planning.ldm.asset.PropertyGroup
getAssetSetMethod
public java.lang.String getAssetSetMethod()
- Specified by:
getAssetSetMethod in interface org.cougaar.planning.ldm.asset.PropertyGroup
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo