atg.commerce.catalog.custom
Class CatalogAlias

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.commerce.catalog.custom.CatalogAlias
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class CatalogAlias
extends RepositoryPropertyDescriptor

A user-defined property descriptor that will allow one property to act as an alias for another

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.repository.RepositoryPropertyDescriptor
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, 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
CatalogAlias()
          Constructs a new CatalogAlias
 
Method Summary
 java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
          This method is called to retrieve a read-only value for this property.
 java.lang.String getTypeName()
          Returns the name this type uses in the XML file.
 boolean isExpert()
           
 boolean isHidden()
           
 boolean isQueryable()
          Returns property Queryable
 boolean isReadable()
          Returns property Readable
 boolean isWritable()
          Returns property Writable
 void setPropertyType(java.lang.Class pClass)
          Perform type checking.
 void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
          Catch the attribute values that we care about and store them in member variables.
 
Methods inherited from class atg.repository.RepositoryPropertyDescriptor
clone, createPropertyDescriptorFromType, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getItemDescriptor, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getUnmodifiableDefaultValue, isAssignableFrom, isCacheable, isCollectionOrMap, isDerived, isIdProperty, isIgnoreNullValue, isLoggingDebug, isMultiValued, isPersistent, isValidValue, isVersionable, isVersionableSet, registerPropertyDescriptorClass, setCacheable, setCascadeDelete, setCascadeInsert, setCascadeUpdate, setComponentItemDescriptor, setDefaultValue, setDefaultValueString, setDerived, setIdProperty, setIgnoreNullValue, setItemDescriptor, setLoggingDebug, setPersistent, setPropertyItemDescriptor, setPropertyValue, setQueryable, setResourceBundleName, setVersionable, toString
 
Methods inherited from class atg.beans.DynamicPropertyDescriptor
createLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getComponentPropertyType, getPropertyEditorClass, getPropertyType, getUIPropertyEditor, isRequired, 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, 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

Constructor Detail

CatalogAlias

public CatalogAlias()
Constructs a new CatalogAlias

Method Detail

getPropertyValue

public java.lang.Object getPropertyValue(RepositoryItemImpl pItem,
                                         java.lang.Object pValue)
This method is called to retrieve a read-only value for this property.

Overrides:
getPropertyValue in class RepositoryPropertyDescriptor

setValue

public void setValue(java.lang.String pAttributeName,
                     java.lang.Object pValue)
Catch the attribute values that we care about and store them in member variables.

Overrides:
setValue in class RepositoryPropertyDescriptor

getTypeName

public java.lang.String getTypeName()
Returns the name this type uses in the XML file.

Overrides:
getTypeName in class RepositoryPropertyDescriptor

setPropertyType

public void setPropertyType(java.lang.Class pClass)
Perform type checking.

Overrides:
setPropertyType in class RepositoryPropertyDescriptor

isQueryable

public boolean isQueryable()
Description copied from class: RepositoryPropertyDescriptor
Returns property Queryable

Overrides:
isQueryable in class RepositoryPropertyDescriptor

isWritable

public boolean isWritable()
Description copied from class: DynamicPropertyDescriptor
Returns property Writable

Overrides:
isWritable in class DynamicPropertyDescriptor

isReadable

public boolean isReadable()
Description copied from class: DynamicPropertyDescriptor
Returns property Readable

Overrides:
isReadable in class DynamicPropertyDescriptor

isHidden

public boolean isHidden()
Overrides:
isHidden in class java.beans.FeatureDescriptor

isExpert

public boolean isExpert()
Overrides:
isExpert in class java.beans.FeatureDescriptor