atg.projects.store.gifts
Class GiftlistQuantityRemaining

java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by atg.beans.SerializableFeatureDescriptor
          extended by atg.beans.DynamicPropertyDescriptor
              extended by atg.repository.RepositoryPropertyDescriptor
                  extended by atg.projects.store.gifts.GiftlistQuantityRemaining
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GiftlistQuantityRemaining
extends atg.repository.RepositoryPropertyDescriptor

User defined property descriptor that returns the amount remaining for a gift list item.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string.
static java.lang.String QUANTITY_DESIRED
          Desired quantity constant.
static java.lang.String QUANTITY_PURCHASED
          Purchased quantity constant.
 
Fields inherited from class atg.repository.RepositoryPropertyDescriptor
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, FOREIGN_REPOSITORY_PATH, mCollectionOrMap
 
Fields inherited from class atg.beans.DynamicPropertyDescriptor
PORTABLE_VALUE_KEY
 
Fields inherited from class atg.beans.SerializableFeatureDescriptor
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME
 
Constructor Summary
GiftlistQuantityRemaining()
           
 
Method Summary
 java.lang.Object getPropertyValue(atg.repository.RepositoryItemImpl pGiftlist, java.lang.Object pValue)
          Returns the amount remaining for a gift list item.
 
Methods inherited from class atg.repository.RepositoryPropertyDescriptor
clone, createPropertyDescriptorFromType, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getItemDescriptor, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getTypeName, getUnmodifiableDefaultValue, isAssignableFrom, isCacheable, isCollectionOrMap, isDerived, isIdProperty, isIgnoreNullValue, isLoggingDebug, isMultiValued, isPersistent, isQueryable, isValidValue, isVersionable, isVersionableSet, registerPropertyDescriptorClass, setCacheable, setCascadeDelete, setCascadeInsert, setCascadeUpdate, setComponentItemDescriptor, setDefaultValue, setDefaultValueString, setDerived, setIdProperty, setIgnoreNullValue, setItemDescriptor, setLoggingDebug, setPersistent, setPropertyItemDescriptor, setPropertyType, setPropertyValue, setQueryable, setResourceBundleName, setValue, setVersionable, toString
 
Methods inherited from class atg.beans.DynamicPropertyDescriptor
createLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getComponentPropertyType, getPropertyEditorClass, getPropertyType, getUIPropertyEditor, isReadable, isRequired, isWritable, setComponentPropertyType, setPropertyEditorClass, setReadable, setRequired, setWritable
 
Methods inherited from class atg.beans.SerializableFeatureDescriptor
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getName, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string.


QUANTITY_DESIRED

public static final java.lang.String QUANTITY_DESIRED
Desired quantity constant.

See Also:
Constant Field Values

QUANTITY_PURCHASED

public static final java.lang.String QUANTITY_PURCHASED
Purchased quantity constant.

See Also:
Constant Field Values
Constructor Detail

GiftlistQuantityRemaining

public GiftlistQuantityRemaining()
Method Detail

getPropertyValue

public java.lang.Object getPropertyValue(atg.repository.RepositoryItemImpl pGiftlist,
                                         java.lang.Object pValue)
Returns the amount remaining for a gift list item.

Overrides:
getPropertyValue in class atg.repository.RepositoryPropertyDescriptor
Parameters:
pGiftlist - gift list repository item
pValue - not used
Returns:
amount remaining for a pGiftlist item.