org.cougaar.tutorial.booksonline.assets
Interface PricePG

All Superinterfaces:
java.lang.Cloneable, org.cougaar.planning.ldm.dq.HasDataQuality, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
All Known Subinterfaces:
NewPricePG
All Known Implementing Classes:
PricePG.Future, PricePG.Null_PricePG, PricePGImpl

public interface PricePG
extends org.cougaar.planning.ldm.asset.PropertyGroup, org.cougaar.planning.ldm.dq.HasDataQuality


Nested Class Summary
static class PricePG.Future
          Future PG implementation for PricePG
static class PricePG.Null_PricePG
          Null_PG implementation for PricePG
 
Field Summary
static java.lang.String assetGetter
           
static java.lang.String assetSetter
           
static java.lang.Class factoryClass
          the factory class
static java.lang.String factoryMethod
          the method of factoryClass that creates this type
static java.lang.String mutableClass
          the (mutable) class type returned by factoryMethod
static PricePG nullPG
          The Null instance for indicating that the PG definitely has no value
static java.lang.Class primaryClass
          the (immutable) class type returned by domain factory
 
Method Summary
 long getEndDateOfDiscount()
          Date special pricing ends, if ever
 float getListPrice()
          suggested price by Publisher
 float getOurPrice()
          price we charge
 
Methods inherited from interface org.cougaar.planning.ldm.asset.PropertyGroup
clone, copy, getAssetGetMethod, getAssetSetMethod, getPrimaryClass, hasDataQuality, lock, lock, unlock
 
Methods inherited from interface org.cougaar.planning.ldm.dq.HasDataQuality
getDataQuality
 

Field Detail

factoryMethod

public static final java.lang.String factoryMethod
the method of factoryClass that creates this type

See Also:
Constant Field Values

mutableClass

public static final java.lang.String mutableClass
the (mutable) class type returned by factoryMethod

See Also:
Constant Field Values

factoryClass

public static final java.lang.Class factoryClass
the factory class


primaryClass

public static final java.lang.Class primaryClass
the (immutable) class type returned by domain factory


assetSetter

public static final java.lang.String assetSetter
See Also:
Constant Field Values

assetGetter

public static final java.lang.String assetGetter
See Also:
Constant Field Values

nullPG

public static final PricePG nullPG
The Null instance for indicating that the PG definitely has no value

Method Detail

getListPrice

public float getListPrice()
suggested price by Publisher


getOurPrice

public float getOurPrice()
price we charge


getEndDateOfDiscount

public long getEndDateOfDiscount()
Date special pricing ends, if ever