Class ItemAttributePropertyDescriptor
java.lang.Object
de.hybris.platform.cockpit.model.meta.impl.ItemAttributePropertyDescriptor
- All Implemented Interfaces:
PropertyDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
PropertyDescriptor.Multiplicity, PropertyDescriptor.Occurrence -
Field Summary
Fields inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
BOOLEAN, DATE, DECIMAL, ENUM, FEATURE, FLOAT, INTEGER, LONG, PK, QUALIFIER_DELIM, QUALIFIER_DELIM_EXP, REFERENCE, TEXT -
Constructor Summary
ConstructorsConstructorDescriptionItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, ComposedTypeModel declaringEnclosingType, List<AttributeDescriptorModel> attributeDescriptors) ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, List<AttributeDescriptorModel> attributeDescriptors) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlocalized descriptionThe general editor type.Specifies which type of collection this editor should handle.getName()localized nameTells if this property is mandatory, recommended or optional.The (globally!) unique property qualifier.qualifier of property descriptor that holds the "selectionOf"inthashCode()booleanTells whether this property contains localized data.booleanbooleanbooleanbooleanvoidsetEditorType(String type) voidvoidsetSelectionOf(String selectionOf) toString()
-
Constructor Details
-
ItemAttributePropertyDescriptor
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, List<AttributeDescriptorModel> attributeDescriptors) -
ItemAttributePropertyDescriptor
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, ComposedTypeModel declaringEnclosingType, List<AttributeDescriptorModel> attributeDescriptors)
-
-
Method Details
-
getEnclosingType
-
getAttributeDescriptors
-
getLastAttributeDescriptor
-
getFirstAttributeDescriptor
-
setEditorType
-
getEditorType
Description copied from interface:PropertyDescriptorThe general editor type.- Specified by:
getEditorTypein interfacePropertyDescriptor
-
getMultiplicity
Description copied from interface:PropertyDescriptorSpecifies which type of collection this editor should handle. Single valued editors usePropertyDescriptor.Multiplicity.SINGLEor null.- Specified by:
getMultiplicityin interfacePropertyDescriptor
-
setOccurence
-
getOccurence
Description copied from interface:PropertyDescriptorTells if this property is mandatory, recommended or optional.- Specified by:
getOccurencein interfacePropertyDescriptor
-
getQualifier
Description copied from interface:PropertyDescriptorThe (globally!) unique property qualifier.- Specified by:
getQualifierin interfacePropertyDescriptor
-
getAttributeQualifier
-
getAttributeQualifiers
-
getTypeCode
-
isLocalized
public boolean isLocalized()Description copied from interface:PropertyDescriptorTells whether this property contains localized data.- Specified by:
isLocalizedin interfacePropertyDescriptor
-
toString
-
hashCode
public int hashCode() -
equals
-
getName
Description copied from interface:PropertyDescriptorlocalized name- Specified by:
getNamein interfacePropertyDescriptor- Returns:
- localized name
-
getName
- Specified by:
getNamein interfacePropertyDescriptor
-
getDescription
Description copied from interface:PropertyDescriptorlocalized description- Specified by:
getDescriptionin interfacePropertyDescriptor- Returns:
- localized description
-
isReadable
public boolean isReadable()- Specified by:
isReadablein interfacePropertyDescriptor
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfacePropertyDescriptor
-
isSingleAttribute
public boolean isSingleAttribute() -
setSelectionOf
-
getSelectionOf
Description copied from interface:PropertyDescriptorqualifier of property descriptor that holds the "selectionOf"- Specified by:
getSelectionOfin interfacePropertyDescriptor- Returns:
- qualifier of property descriptor
-
isRedeclared
public boolean isRedeclared()
-