org.cougaar.tutorial.booksonline.assets
Class InvListPGImpl

java.lang.Object
  extended byjava.beans.SimpleBeanInfo
      extended byorg.cougaar.tutorial.booksonline.assets.InvListPGImpl
All Implemented Interfaces:
java.beans.BeanInfo, java.lang.Cloneable, org.cougaar.planning.ldm.dq.HasDataQuality, InvListPG, NewInvListPG, org.cougaar.planning.ldm.asset.NewPropertyGroup, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
Direct Known Subclasses:
InvListPGImpl.DQ

public class InvListPGImpl
extends java.beans.SimpleBeanInfo
implements NewInvListPG, java.lang.Cloneable

See Also:
Serialized Form

Nested Class Summary
static class InvListPGImpl.DQ
           
 
Nested classes inherited from class org.cougaar.tutorial.booksonline.assets.InvListPG
InvListPG.Future, InvListPG.Null_InvListPG
 
Field Summary
 
Fields inherited from interface org.cougaar.tutorial.booksonline.assets.InvListPG
assetGetter, assetSetter, factoryClass, factoryMethod, mutableClass, nullPG, primaryClass
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
InvListPGImpl()
           
InvListPGImpl(InvListPG original)
           
 
Method Summary
 boolean addToAuthList(AuthorPG _element)
           
 boolean addToOverviewList(OverviewPG _element)
           
 boolean addToPriceList(PricePG _element)
           
 boolean addToPublList(PublisherPG _element)
           
 boolean addToReviewList(ReviewPG _element)
           
 boolean addToSpefsList(SpecificsPG _element)
           
 boolean addToStockList(StockPG _element)
           
 void clearAuthList()
           
 void clearOverviewList()
           
 void clearPriceList()
           
 void clearPublList()
           
 void clearReviewList()
           
 void clearSpefsList()
           
 void clearStockList()
           
 java.lang.Object clone()
           
 org.cougaar.planning.ldm.asset.PropertyGroup copy()
           
 java.lang.String getAssetGetMethod()
           
 java.lang.String getAssetSetMethod()
           
 java.util.List getAuthList()
           
 AuthorPG[] getAuthListAsArray()
          array getter for beans
 org.cougaar.planning.ldm.dq.DataQuality getDataQuality()
           
 AuthorPG getIndexedAuthList(int _index)
          indexed getter for beans
 OverviewPG getIndexedOverviewList(int _index)
          indexed getter for beans
 PricePG getIndexedPriceList(int _index)
          indexed getter for beans
 PublisherPG getIndexedPublList(int _index)
          indexed getter for beans
 ReviewPG getIndexedReviewList(int _index)
          indexed getter for beans
 SpecificsPG getIndexedSpefsList(int _index)
          indexed getter for beans
 StockPG getIndexedStockList(int _index)
          indexed getter for beans
 java.util.List getOverviewList()
           
 OverviewPG[] getOverviewListAsArray()
          array getter for beans
 java.util.List getPriceList()
           
 PricePG[] getPriceListAsArray()
          array getter for beans
 java.lang.Class getPrimaryClass()
           
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
           
 java.util.List getPublList()
           
 PublisherPG[] getPublListAsArray()
          array getter for beans
 java.util.List getReviewList()
           
 ReviewPG[] getReviewListAsArray()
          array getter for beans
 java.util.List getSpefsList()
           
 SpecificsPG[] getSpefsListAsArray()
          array getter for beans
 java.util.List getStockList()
           
 StockPG[] getStockListAsArray()
          array getter for beans
 boolean hasDataQuality()
           
 boolean inAuthList(AuthorPG _element)
          test to see if an element is a member of the authList Collection
 boolean inOverviewList(OverviewPG _element)
          test to see if an element is a member of the overviewList Collection
 boolean inPriceList(PricePG _element)
          test to see if an element is a member of the priceList Collection
 boolean inPublList(PublisherPG _element)
          test to see if an element is a member of the publList Collection
 boolean inReviewList(ReviewPG _element)
          test to see if an element is a member of the reviewList Collection
 boolean inSpefsList(SpecificsPG _element)
          test to see if an element is a member of the spefsList Collection
 boolean inStockList(StockPG _element)
          test to see if an element is a member of the stockList Collection
 org.cougaar.planning.ldm.asset.PropertyGroup lock()
           
 org.cougaar.planning.ldm.asset.PropertyGroup lock(java.lang.Object key)
           
 boolean removeFromAuthList(AuthorPG _element)
           
 boolean removeFromOverviewList(OverviewPG _element)
           
 boolean removeFromPriceList(PricePG _element)
           
 boolean removeFromPublList(PublisherPG _element)
           
 boolean removeFromReviewList(ReviewPG _element)
           
 boolean removeFromSpefsList(SpecificsPG _element)
           
 boolean removeFromStockList(StockPG _element)
           
 void setAuthList(java.util.List authList)
           
 void setOverviewList(java.util.List overviewList)
           
 void setPriceList(java.util.List priceList)
           
 void setPublList(java.util.List publList)
           
 void setReviewList(java.util.List reviewList)
           
 void setSpefsList(java.util.List spefsList)
           
 void setStockList(java.util.List stockList)
           
 org.cougaar.planning.ldm.asset.NewPropertyGroup unlock(java.lang.Object key)
           
 
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
 

Constructor Detail

InvListPGImpl

public InvListPGImpl()

InvListPGImpl

public InvListPGImpl(InvListPG original)
Method Detail

getOverviewList

public java.util.List getOverviewList()
Specified by:
getOverviewList in interface InvListPG

inOverviewList

public boolean inOverviewList(OverviewPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the overviewList Collection

Specified by:
inOverviewList in interface InvListPG

getOverviewListAsArray

public OverviewPG[] getOverviewListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getOverviewListAsArray in interface InvListPG

getIndexedOverviewList

public OverviewPG getIndexedOverviewList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedOverviewList in interface InvListPG

setOverviewList

public void setOverviewList(java.util.List overviewList)
Specified by:
setOverviewList in interface NewInvListPG

clearOverviewList

public void clearOverviewList()
Specified by:
clearOverviewList in interface NewInvListPG

removeFromOverviewList

public boolean removeFromOverviewList(OverviewPG _element)
Specified by:
removeFromOverviewList in interface NewInvListPG

addToOverviewList

public boolean addToOverviewList(OverviewPG _element)
Specified by:
addToOverviewList in interface NewInvListPG

getAuthList

public java.util.List getAuthList()
Specified by:
getAuthList in interface InvListPG

inAuthList

public boolean inAuthList(AuthorPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the authList Collection

Specified by:
inAuthList in interface InvListPG

getAuthListAsArray

public AuthorPG[] getAuthListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getAuthListAsArray in interface InvListPG

getIndexedAuthList

public AuthorPG getIndexedAuthList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedAuthList in interface InvListPG

setAuthList

public void setAuthList(java.util.List authList)
Specified by:
setAuthList in interface NewInvListPG

clearAuthList

public void clearAuthList()
Specified by:
clearAuthList in interface NewInvListPG

removeFromAuthList

public boolean removeFromAuthList(AuthorPG _element)
Specified by:
removeFromAuthList in interface NewInvListPG

addToAuthList

public boolean addToAuthList(AuthorPG _element)
Specified by:
addToAuthList in interface NewInvListPG

getPublList

public java.util.List getPublList()
Specified by:
getPublList in interface InvListPG

inPublList

public boolean inPublList(PublisherPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the publList Collection

Specified by:
inPublList in interface InvListPG

getPublListAsArray

public PublisherPG[] getPublListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getPublListAsArray in interface InvListPG

getIndexedPublList

public PublisherPG getIndexedPublList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedPublList in interface InvListPG

setPublList

public void setPublList(java.util.List publList)
Specified by:
setPublList in interface NewInvListPG

clearPublList

public void clearPublList()
Specified by:
clearPublList in interface NewInvListPG

removeFromPublList

public boolean removeFromPublList(PublisherPG _element)
Specified by:
removeFromPublList in interface NewInvListPG

addToPublList

public boolean addToPublList(PublisherPG _element)
Specified by:
addToPublList in interface NewInvListPG

getSpefsList

public java.util.List getSpefsList()
Specified by:
getSpefsList in interface InvListPG

inSpefsList

public boolean inSpefsList(SpecificsPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the spefsList Collection

Specified by:
inSpefsList in interface InvListPG

getSpefsListAsArray

public SpecificsPG[] getSpefsListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getSpefsListAsArray in interface InvListPG

getIndexedSpefsList

public SpecificsPG getIndexedSpefsList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedSpefsList in interface InvListPG

setSpefsList

public void setSpefsList(java.util.List spefsList)
Specified by:
setSpefsList in interface NewInvListPG

clearSpefsList

public void clearSpefsList()
Specified by:
clearSpefsList in interface NewInvListPG

removeFromSpefsList

public boolean removeFromSpefsList(SpecificsPG _element)
Specified by:
removeFromSpefsList in interface NewInvListPG

addToSpefsList

public boolean addToSpefsList(SpecificsPG _element)
Specified by:
addToSpefsList in interface NewInvListPG

getPriceList

public java.util.List getPriceList()
Specified by:
getPriceList in interface InvListPG

inPriceList

public boolean inPriceList(PricePG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the priceList Collection

Specified by:
inPriceList in interface InvListPG

getPriceListAsArray

public PricePG[] getPriceListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getPriceListAsArray in interface InvListPG

getIndexedPriceList

public PricePG getIndexedPriceList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedPriceList in interface InvListPG

setPriceList

public void setPriceList(java.util.List priceList)
Specified by:
setPriceList in interface NewInvListPG

clearPriceList

public void clearPriceList()
Specified by:
clearPriceList in interface NewInvListPG

removeFromPriceList

public boolean removeFromPriceList(PricePG _element)
Specified by:
removeFromPriceList in interface NewInvListPG

addToPriceList

public boolean addToPriceList(PricePG _element)
Specified by:
addToPriceList in interface NewInvListPG

getReviewList

public java.util.List getReviewList()
Specified by:
getReviewList in interface InvListPG

inReviewList

public boolean inReviewList(ReviewPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the reviewList Collection

Specified by:
inReviewList in interface InvListPG

getReviewListAsArray

public ReviewPG[] getReviewListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getReviewListAsArray in interface InvListPG

getIndexedReviewList

public ReviewPG getIndexedReviewList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedReviewList in interface InvListPG

setReviewList

public void setReviewList(java.util.List reviewList)
Specified by:
setReviewList in interface NewInvListPG

clearReviewList

public void clearReviewList()
Specified by:
clearReviewList in interface NewInvListPG

removeFromReviewList

public boolean removeFromReviewList(ReviewPG _element)
Specified by:
removeFromReviewList in interface NewInvListPG

addToReviewList

public boolean addToReviewList(ReviewPG _element)
Specified by:
addToReviewList in interface NewInvListPG

getStockList

public java.util.List getStockList()
Specified by:
getStockList in interface InvListPG

inStockList

public boolean inStockList(StockPG _element)
Description copied from interface: InvListPG
test to see if an element is a member of the stockList Collection

Specified by:
inStockList in interface InvListPG

getStockListAsArray

public StockPG[] getStockListAsArray()
Description copied from interface: InvListPG
array getter for beans

Specified by:
getStockListAsArray in interface InvListPG

getIndexedStockList

public StockPG getIndexedStockList(int _index)
Description copied from interface: InvListPG
indexed getter for beans

Specified by:
getIndexedStockList in interface InvListPG

setStockList

public void setStockList(java.util.List stockList)
Specified by:
setStockList in interface NewInvListPG

clearStockList

public void clearStockList()
Specified by:
clearStockList in interface NewInvListPG

removeFromStockList

public boolean removeFromStockList(StockPG _element)
Specified by:
removeFromStockList in interface NewInvListPG

addToStockList

public boolean addToStockList(StockPG _element)
Specified by:
addToStockList in interface NewInvListPG

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