Class WidgetParameterPropertyDescriptor
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.WidgetParameterPropertyDescriptor
-
- All Implemented Interfaces:
PropertyDescriptor
public class WidgetParameterPropertyDescriptor 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 WidgetParameterPropertyDescriptor(ComposedTypeModel enclosingType, WidgetParameterModel parameter)
-
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 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"WidgetParameterModelgetWidgetParameter()inthashCode()booleanisLocalized()Tells whether this property contains localized data.booleanisReadable()booleanisWritable()voidsetEditorType(java.lang.String type)
-
-
-
Constructor Detail
-
WidgetParameterPropertyDescriptor
public WidgetParameterPropertyDescriptor(ComposedTypeModel enclosingType, WidgetParameterModel parameter)
-
-
Method Detail
-
getName
public java.lang.String getName(java.lang.String languageIso)
- Specified by:
getNamein interfacePropertyDescriptor
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfacePropertyDescriptor
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfacePropertyDescriptor
-
getDescription
public java.lang.String getDescription()
Description copied from interface:PropertyDescriptorlocalized description- Specified by:
getDescriptionin interfacePropertyDescriptor- Returns:
- localized description
-
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
-
getName
public java.lang.String getName()
Description copied from interface:PropertyDescriptorlocalized name- Specified by:
getNamein interfacePropertyDescriptor- Returns:
- localized name
-
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
-
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
-
isLocalized
public boolean isLocalized()
Description copied from interface:PropertyDescriptorTells whether this property contains localized data.- Specified by:
isLocalizedin interfacePropertyDescriptor
-
getWidgetParameter
public WidgetParameterModel getWidgetParameter()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-