Class ClassAttributePropertyDescriptor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.ClassAttributePropertyDescriptor
-
- All Implemented Interfaces:
PropertyDescriptor
public class ClassAttributePropertyDescriptor 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 Modifier and Type Field Description static java.lang.StringATTRIBUTE_DELIMITER_PATTERNstatic java.lang.StringESCAPE_PATTERNstatic java.lang.StringESCAPED_PATTERN_MARKER-
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 ClassAttributePropertyDescriptor(java.lang.String qualifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcalculateEscapedQualifier()protected java.lang.StringcreateStringRep()booleanequals(java.lang.Object obj)static java.lang.StringescapeDots(java.lang.String input)ClassAttributeAssignmentgetAttributeAssignment()ClassAttributeAssignmentgetAttributeAssignmentInternal()java.lang.StringgetAttributeQualifier()java.lang.StringgetClassificationAttributeValueInfo()ClassificationClassgetClassificationClass()protected ClassificationClassgetClassificationClassInternal()java.lang.StringgetDescription()localized descriptionprotected java.lang.StringgetDescriptionInternal()java.lang.StringgetEditorType()The general editor type.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.IntegergetPosition()java.lang.StringgetQualifier()The (globally!) unique property qualifier.java.lang.StringgetSelectionOf()qualifier of property descriptor that holds the "selectionOf"inthashCode()booleanisLocalized()Tells whether this property contains localized data.booleanisReadable()booleanisWritable()voidsetEditorType(java.lang.String type)voidsetOccurence(PropertyDescriptor.Occurrence occ)java.lang.StringtoString()
-
-
-
Field Detail
-
ATTRIBUTE_DELIMITER_PATTERN
public static final java.lang.String ATTRIBUTE_DELIMITER_PATTERN
- See Also:
- Constant Field Values
-
ESCAPE_PATTERN
public static final java.lang.String ESCAPE_PATTERN
- See Also:
- Constant Field Values
-
ESCAPED_PATTERN_MARKER
public static final java.lang.String ESCAPED_PATTERN_MARKER
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
calculateEscapedQualifier
protected java.lang.String calculateEscapedQualifier()
-
getAttributeQualifier
public java.lang.String getAttributeQualifier()
-
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
-
createStringRep
protected java.lang.String createStringRep()
-
getAttributeAssignment
public ClassAttributeAssignment getAttributeAssignment()
-
getAttributeAssignmentInternal
public ClassAttributeAssignment getAttributeAssignmentInternal()
-
getClassificationClass
public ClassificationClass getClassificationClass()
-
getClassificationClassInternal
protected ClassificationClass getClassificationClassInternal()
-
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
-
getDescriptionInternal
protected java.lang.String getDescriptionInternal()
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfacePropertyDescriptor
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfacePropertyDescriptor
-
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
-
getPosition
public java.lang.Integer getPosition()
-
escapeDots
public static java.lang.String escapeDots(java.lang.String input)
-
getClassificationAttributeValueInfo
public java.lang.String getClassificationAttributeValueInfo()
-
-