|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor atg.beans.SerializableFeatureDescriptor atg.beans.DynamicPropertyDescriptor atg.repository.RepositoryPropertyDescriptor atg.repository.dp.DerivedPropertyDescriptor atg.commerce.catalog.custom.CatalogAlias
public class CatalogAlias
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.
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_REFERENCES_DP, 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_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.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 |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public CatalogAlias()
Method Detail |
---|
public java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
getPropertyValue
in class atg.repository.dp.DerivedPropertyDescriptor
public void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
setValue
in class RepositoryPropertyDescriptor
public java.lang.String getTypeName()
getTypeName
in class atg.repository.dp.DerivedPropertyDescriptor
public void setPropertyType(java.lang.Class pClass)
setPropertyType
in class RepositoryPropertyDescriptor
public boolean isQueryable()
RepositoryPropertyDescriptor
isQueryable
in class atg.repository.dp.DerivedPropertyDescriptor
public boolean isWritable()
DynamicPropertyDescriptor
isWritable
in class atg.repository.dp.DerivedPropertyDescriptor
public boolean isReadable()
DynamicPropertyDescriptor
isReadable
in class DynamicPropertyDescriptor
public boolean isHidden()
isHidden
in class java.beans.FeatureDescriptor
public boolean isExpert()
isExpert
in class java.beans.FeatureDescriptor
public boolean isDerived()
RepositoryPropertyDescriptor
derived
isDerived
in class RepositoryPropertyDescriptor
derived
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |