Class AbstractPropertyDescriptor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.AbstractPropertyDescriptor
-
- All Implemented Interfaces:
PropertyDescriptor
- Direct Known Subclasses:
AbstractSearchParameterDescriptor
public abstract class AbstractPropertyDescriptor 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 AbstractPropertyDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDescription()localized descriptionjava.lang.StringgetEditorType()The general editor type.PropertyDescriptor.MultiplicitygetMultiplicity()Specifies which type of collection this editor should handle.java.lang.StringgetName()localized namePropertyDescriptor.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"inthashCode()booleanisLocalized()Tells whether this property contains localized data.voidsetEditorType(java.lang.String type)voidsetLocalized(boolean loc)voidsetMultiplicity(PropertyDescriptor.Multiplicity multiplicity)voidsetOccurence(PropertyDescriptor.Occurrence occurence)voidsetQualifier(java.lang.String qualifier)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
getName, isReadable, isWritable
-
-
-
-
Method Detail
-
getQualifier
public java.lang.String getQualifier()
Description copied from interface:PropertyDescriptorThe (globally!) unique property qualifier.- Specified by:
getQualifierin interfacePropertyDescriptor
-
setQualifier
public void setQualifier(java.lang.String qualifier)
-
isLocalized
public boolean isLocalized()
Description copied from interface:PropertyDescriptorTells whether this property contains localized data.- Specified by:
isLocalizedin interfacePropertyDescriptor
-
setLocalized
public void setLocalized(boolean loc)
-
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
-
setMultiplicity
public void setMultiplicity(PropertyDescriptor.Multiplicity multiplicity)
-
getEditorType
public java.lang.String getEditorType()
Description copied from interface:PropertyDescriptorThe general editor type.- Specified by:
getEditorTypein interfacePropertyDescriptor
-
setEditorType
public void setEditorType(java.lang.String type)
-
setOccurence
public void setOccurence(PropertyDescriptor.Occurrence occurence)
-
getOccurence
public PropertyDescriptor.Occurrence getOccurence()
Description copied from interface:PropertyDescriptorTells if this property is mandatory, recommended or optional.- Specified by:
getOccurencein 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
-
getDescription
public java.lang.String getDescription()
Description copied from interface:PropertyDescriptorlocalized description- Specified by:
getDescriptionin interfacePropertyDescriptor- Returns:
- localized description
-
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
-
-