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.repository.dp.DerivedPropertyDescriptor
                      extended by atg.commerce.catalog.custom.CatalogAlias
All Implemented Interfaces:
atg.repository.dp.Constants, java.io.Serializable, java.lang.Cloneable

public class CatalogAlias
extends atg.repository.dp.DerivedPropertyDescriptor

A user-defined property descriptor that will allow one property to act as an alias for another. If the alias is from a derived property the derivation of the alias is used. Note: this is a legacy feature and atg.repository.dp.Alias should be used instead.

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, 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
 
Fields inherited from interface atg.repository.dp.Constants
ATTR_METHOD, ATTR_OVERRIDE_PROPERTY, ATTR_USER_METHOD, DEFAULT_METHOD_NAME, DEFAULT_RECURSION_DEPTH, DP_COUNT_ATTR_NAME, ERR_COLLECTION_EXPRESSION_TYPE, ERR_COLLECTION_ITEM_TYPE, ERR_DP_EXP_NOT_ARRAY, ERR_DP_EXP_NOT_COLLECTION, ERR_DP_EXP_NOT_SET_LIST, ERR_DP_EXP_NOT_SET_LIST_MAP, ERR_DP_EXP_REFERENCES_DP, ERR_DP_EXP_TYPE_MISMATCH, ERR_DP_NOT_SET_LIST_MAP, ERR_DP_QUERYABLE_OP_NOT, ERR_DP_READABLE_OP_NOT, ERR_DP_WRITABLE_OP_NOT, ERR_DP_WRITABLE_WITH_NULL_OP, ERR_EMPTY_EXPRESSION, ERR_EXACTLY_ONE_EXPRESSION, ERR_INCOMPATIBLE_DP_EXP, ERR_INCOMPATIBLE_OP, ERR_INVALID_OVERRIDE_PROPERTY_NAME, ERR_INVALID_PROPERTY, ERR_METHOD_AND_USER_METHOD, ERR_MISSING_DERIVATION, ERR_NO_DP, ERR_NO_EXP, ERR_NO_EXPRESSION, ERR_NO_METHOD, ERR_NO_PROPERTY_FOR_LOCALE, ERR_NO_PROPERTY_TYPE, ERR_NO_SET_LIST, ERR_NULL_ITEM_DESCRIPTOR, ERR_OP_SAME_AS_DP, ERR_PROP_COLLECTION_TYPE, ERR_SET_NOT_WRITABLE, PROPERTY_SEPARATOR, RECURSION_DEPTH_ATTR_NAME, RESOURCE_BUNDLE_NAME, TAG_DERIVATION, TAG_EXPRESSION
 
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 isDerived()
          Test property derived
 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.dp.DerivedPropertyDescriptor
getDerivation, getDerivedValue, getOverrideValue, getPropertyValue, getUnderlyingPropertyDescriptors, isEmpty, isOverridden, setDerivation, setPropertyValue, setPropertyValue, setTypeName, toString, validate
 
Methods inherited from class atg.repository.RepositoryPropertyDescriptor
clone, createPropertyDescriptorFromType, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getItemDescriptor, getLocalizedResourceBundle, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getUnmodifiableDefaultValue, isAssignableFrom, isCacheable, isCollectionOrMap, isIdProperty, isIgnoreNullValue, isLoggingDebug, isMultiValued, isPersistent, isValidValue, isVersionable, isVersionableSet, registerPropertyDescriptorClass, setCacheable, setCascadeDelete, setCascadeInsert, setCascadeUpdate, setComponentItemDescriptor, setDefaultValue, setDefaultValueString, setDerived, setIdProperty, setIgnoreNullValue, setItemDescriptor, setLoggingDebug, setPersistent, setPropertyItemDescriptor, setQueryable, setResourceBundleName, setVersionable
 
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 atg.repository.dp.DerivedPropertyDescriptor

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 atg.repository.dp.DerivedPropertyDescriptor

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 atg.repository.dp.DerivedPropertyDescriptor

isWritable

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

Overrides:
isWritable in class atg.repository.dp.DerivedPropertyDescriptor

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

isDerived

public boolean isDerived()
Description copied from class: RepositoryPropertyDescriptor
Test property derived

Overrides:
isDerived in class RepositoryPropertyDescriptor
Returns:
derived