Class ItemAttributePropertyDescriptor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.ItemAttributePropertyDescriptor
-
- All Implemented Interfaces:
PropertyDescriptor
public class ItemAttributePropertyDescriptor extends java.lang.Object implements 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
Constructors Constructor Description ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, ComposedTypeModel declaringEnclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<AttributeDescriptorModel>getAttributeDescriptors()java.lang.StringgetAttributeQualifier()java.util.List<java.lang.String>getAttributeQualifiers()java.lang.StringgetDescription()localized descriptionjava.lang.StringgetEditorType()The general editor type.ComposedTypeModelgetEnclosingType()AttributeDescriptorModelgetFirstAttributeDescriptor()AttributeDescriptorModelgetLastAttributeDescriptor()PropertyDescriptor.MultiplicitygetMultiplicity()Specifies which type of collection this editor should handle.java.lang.StringgetName()localized namejava.lang.StringgetName(java.lang.String languageIso)PropertyDescriptor.OccurrencegetOccurence()Tells if this property is mandatory, recommended or optional.java.lang.StringgetQualifier()The (globally!) unique property qualifier.java.lang.StringgetSelectionOf()qualifier of property descriptor that holds the "selectionOf"java.lang.StringgetTypeCode()inthashCode()booleanisLocalized()Tells whether this property contains localized data.booleanisReadable()booleanisRedeclared()booleanisSingleAttribute()booleanisWritable()voidsetEditorType(java.lang.String type)voidsetOccurence(PropertyDescriptor.Occurrence occ)voidsetSelectionOf(java.lang.String selectionOf)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ItemAttributePropertyDescriptor
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)
-
ItemAttributePropertyDescriptor
public ItemAttributePropertyDescriptor(ComposedTypeModel enclosingType, ComposedTypeModel declaringEnclosingType, java.util.List<AttributeDescriptorModel> attributeDescriptors)
-
-
Method Detail
-
getEnclosingType
public ComposedTypeModel getEnclosingType()
-
getAttributeDescriptors
public java.util.List<AttributeDescriptorModel> getAttributeDescriptors()
-
getLastAttributeDescriptor
public AttributeDescriptorModel getLastAttributeDescriptor()
-
getFirstAttributeDescriptor
public AttributeDescriptorModel getFirstAttributeDescriptor()
-
setEditorType
public void setEditorType(java.lang.String type)
-
getEditorType
public java.lang.String getEditorType()
Description copied from interface:PropertyDescriptorThe general editor type.- Specified by:
getEditorTypein interfacePropertyDescriptor
-
getMultiplicity
public PropertyDescriptor.Multiplicity 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
public void setOccurence(PropertyDescriptor.Occurrence occ)
-
getOccurence
public PropertyDescriptor.Occurrence getOccurence()
Description copied from interface:PropertyDescriptorTells if this property is mandatory, recommended or optional.- Specified by:
getOccurencein interfacePropertyDescriptor
-
getQualifier
public java.lang.String getQualifier()
Description copied from interface:PropertyDescriptorThe (globally!) unique property qualifier.- Specified by:
getQualifierin interfacePropertyDescriptor
-
getAttributeQualifier
public java.lang.String getAttributeQualifier()
-
getAttributeQualifiers
public java.util.List<java.lang.String> getAttributeQualifiers()
-
getTypeCode
public java.lang.String getTypeCode()
-
isLocalized
public boolean isLocalized()
Description copied from interface:PropertyDescriptorTells whether this property contains localized data.- Specified by:
isLocalizedin interfacePropertyDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getName
public java.lang.String getName()
Description copied from interface:PropertyDescriptorlocalized name- Specified by:
getNamein interfacePropertyDescriptor- Returns:
- localized name
-
getName
public java.lang.String getName(java.lang.String languageIso)
- Specified by:
getNamein interfacePropertyDescriptor
-
getDescription
public java.lang.String 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
public void setSelectionOf(java.lang.String selectionOf)
-
getSelectionOf
public java.lang.String 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()
-
-