org.cougaar.pizza.asset
Class AssetSkeleton

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended byorg.cougaar.planning.ldm.asset.AssetSkeletonBase
          extended byorg.cougaar.planning.ldm.asset.AssetSkeleton
              extended byorg.cougaar.planning.ldm.asset.Asset
                  extended byorg.cougaar.pizza.asset.AssetSkeleton
All Implemented Interfaces:
java.beans.BeanInfo, java.lang.Cloneable, org.cougaar.core.persist.Persistable, org.cougaar.core.blackboard.Publishable, java.io.Serializable, org.cougaar.core.util.UniqueObject
Direct Known Subclasses:
KitchenAsset, PizzaAsset

public abstract class AssetSkeleton
extends org.cougaar.planning.ldm.asset.Asset

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.cougaar.planning.ldm.asset.Asset
org.cougaar.planning.ldm.asset.Asset.AssetChangeReport
 
Field Summary
 
Fields inherited from class org.cougaar.planning.ldm.asset.Asset
myPrototype, pcs, regeneratePrototypeCacheP, sendPrototypeAsIDP
 
Fields inherited from class org.cougaar.planning.ldm.asset.AssetSkeletonBase
hasOtherTimePhasedProperties, UNSPECIFIED_TIME
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
protected AssetSkeleton()
           
protected AssetSkeleton(AssetSkeleton prototype)
           
 
Method Summary
 MeatPG getMeatPG()
          Search additional properties for a MeatPG instance.
 VeggiePG getVeggiePG()
          Search additional properties for a VeggiePG instance.
 boolean hasMeatPG()
          Test for existence of a MeatPG
 boolean hasVeggiePG()
          Test for existence of a VeggiePG
 void setMeatPG(org.cougaar.planning.ldm.asset.PropertyGroup aMeatPG)
          Set the MeatPG property.
 void setVeggiePG(org.cougaar.planning.ldm.asset.PropertyGroup aVeggiePG)
          Set the VeggiePG property.
 
Methods inherited from class org.cougaar.planning.ldm.asset.Asset
addPropertyChangeListener, bindToLDM, clone, copy, createAggregate, createInstance, createInstance, equals, fetchAllProperties, fetchAllProperties, fillAllPropertyGroups, fillAllPropertyGroups, getCapabilities, getItemIdentificationPG, getKey, getLocalPG, getLocalPGSchedule, getName, getPropertyDescriptors, getPrototype, getRoleSchedule, getTypeIdentificationPG, getUID, hashCode, instanceForCopy, isPersistable, isPGLocal, isPGLocal, isPGScheduleLocal, lateBindPG, registerWithLDM, removePropertyChangeListener, resolvePG, resolvePGSchedule, searchForPropertyGroupSchedule, setItemIdentificationPG, setLocalPG, setLocalPGSchedule, setPropertyGroup, setPrototype, setTypeIdentificationPG, setUID, toString
 
Methods inherited from class org.cougaar.planning.ldm.asset.AssetSkeleton
getClusterPG, getCommunityPG, getCommunityPG, getCommunityPGSchedule, getEntityPG, getLocationSchedulePG, getRelationshipPG, hasClusterPG, hasCommunityPG, hasCommunityPG, hasEntityPG, hasItemIdentificationPG, hasLocationSchedulePG, hasRelationshipPG, hasTypeIdentificationPG, setClusterPG, setCommunityPG, setCommunityPGSchedule, setEntityPG, setLocationSchedulePG, setRelationshipPG
 
Methods inherited from class org.cougaar.planning.ldm.asset.AssetSkeletonBase
addOtherPropertyGroup, addOtherPropertyGroupSchedule, fillAllPropertyGroups, fillAllPropertyGroups, generateDefaultPG, getOtherProperties, hasOtherTimePhasedProperties, lateBindPG, removeLocalPG, removeLocalPG, removeLocalPGSchedule, removeOtherPropertyGroup, removeOtherPropertyGroup, removeOtherPropertyGroupSchedule, removeOtherPropertyGroupSchedule, replaceOtherPropertyGroup, replaceOtherPropertyGroupSchedule, resolvePG, searchForPropertyGroup, searchForPropertyGroup, searchForPropertyGroup, searchForPropertyGroup, searchForPropertyGroupSchedule, setOtherProperties
 
Methods inherited from class java.beans.SimpleBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssetSkeleton

protected AssetSkeleton()

AssetSkeleton

protected AssetSkeleton(AssetSkeleton prototype)
Method Detail

getVeggiePG

public VeggiePG getVeggiePG()
Search additional properties for a VeggiePG instance.

Returns:
instance of VeggiePG or null.

hasVeggiePG

public boolean hasVeggiePG()
Test for existence of a VeggiePG


setVeggiePG

public void setVeggiePG(org.cougaar.planning.ldm.asset.PropertyGroup aVeggiePG)
Set the VeggiePG property. The default implementation will create a new VeggiePG property and add it to the otherPropertyGroup list. Many subclasses override with local slots.


getMeatPG

public MeatPG getMeatPG()
Search additional properties for a MeatPG instance.

Returns:
instance of MeatPG or null.

hasMeatPG

public boolean hasMeatPG()
Test for existence of a MeatPG


setMeatPG

public void setMeatPG(org.cougaar.planning.ldm.asset.PropertyGroup aMeatPG)
Set the MeatPG property. The default implementation will create a new MeatPG property and add it to the otherPropertyGroup list. Many subclasses override with local slots.