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 boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
localized descriptionjava.lang.String
getEditorType()
The general editor type.PropertyDescriptor.Multiplicity
getMultiplicity()
Specifies which type of collection this editor should handle.java.lang.String
getName()
localized namePropertyDescriptor.Occurrence
getOccurence()
Tells if this property is mandatory, recommended or optional.java.lang.String
getQualifier()
The (globally!) unique property qualifier.java.lang.String
getSelectionOf()
qualifier of property descriptor that holds the "selectionOf"int
hashCode()
boolean
isLocalized()
Tells whether this property contains localized data.void
setEditorType(java.lang.String type)
void
setLocalized(boolean loc)
void
setMultiplicity(PropertyDescriptor.Multiplicity multiplicity)
void
setOccurence(PropertyDescriptor.Occurrence occurence)
void
setQualifier(java.lang.String qualifier)
java.lang.String
toString()
-
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:PropertyDescriptor
The (globally!) unique property qualifier.- Specified by:
getQualifier
in interfacePropertyDescriptor
-
setQualifier
public void setQualifier(java.lang.String qualifier)
-
isLocalized
public boolean isLocalized()
Description copied from interface:PropertyDescriptor
Tells whether this property contains localized data.- Specified by:
isLocalized
in interfacePropertyDescriptor
-
setLocalized
public void setLocalized(boolean loc)
-
getMultiplicity
public PropertyDescriptor.Multiplicity getMultiplicity()
Description copied from interface:PropertyDescriptor
Specifies which type of collection this editor should handle. Single valued editors usePropertyDescriptor.Multiplicity.SINGLE
or null.- Specified by:
getMultiplicity
in interfacePropertyDescriptor
-
setMultiplicity
public void setMultiplicity(PropertyDescriptor.Multiplicity multiplicity)
-
getEditorType
public java.lang.String getEditorType()
Description copied from interface:PropertyDescriptor
The general editor type.- Specified by:
getEditorType
in 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:PropertyDescriptor
Tells if this property is mandatory, recommended or optional.- Specified by:
getOccurence
in interfacePropertyDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getName
public java.lang.String getName()
Description copied from interface:PropertyDescriptor
localized name- Specified by:
getName
in interfacePropertyDescriptor
- Returns:
- localized name
-
getDescription
public java.lang.String getDescription()
Description copied from interface:PropertyDescriptor
localized description- Specified by:
getDescription
in interfacePropertyDescriptor
- Returns:
- localized description
-
getSelectionOf
public java.lang.String getSelectionOf()
Description copied from interface:PropertyDescriptor
qualifier of property descriptor that holds the "selectionOf"- Specified by:
getSelectionOf
in interfacePropertyDescriptor
- Returns:
- qualifier of property descriptor
-
-