Class DefaultPropertySettingsImpl
- java.lang.Object
-
- de.hybris.platform.cockpit.services.config.impl.DefaultPropertySettingsImpl
-
- All Implemented Interfaces:
DefaultPropertySettings
public class DefaultPropertySettingsImpl extends java.lang.Object implements DefaultPropertySettings
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertySettingsImpl(java.lang.String defaultEditorCode, java.util.Map<java.lang.String,java.lang.String> parameters, PropertyDescriptor propertyDescriptor, boolean baseProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultEditorCode()
Returns editorCode configured for the property.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Returns a map of all parameters configured for the property.PropertyDescriptor
getPropertyDescriptor()
Returns a PropertyDescriptor of the property that this instance ofDefaultPropertySettings
represents.boolean
isBaseProperty()
Returns true if the property is configured as baseProperty.
-
-
-
Constructor Detail
-
DefaultPropertySettingsImpl
public DefaultPropertySettingsImpl(java.lang.String defaultEditorCode, java.util.Map<java.lang.String,java.lang.String> parameters, PropertyDescriptor propertyDescriptor, boolean baseProperty)
-
-
Method Detail
-
getDefaultEditorCode
public java.lang.String getDefaultEditorCode()
Description copied from interface:DefaultPropertySettings
Returns editorCode configured for the property.- Specified by:
getDefaultEditorCode
in interfaceDefaultPropertySettings
- Returns:
- configured editorCode or null if no editorCode is configured.
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Description copied from interface:DefaultPropertySettings
Returns a map of all parameters configured for the property.- Specified by:
getParameters
in interfaceDefaultPropertySettings
- Returns:
- a map (name->value) of parameters configured for the property. Returns empty map if there are no configured parameters.
-
getPropertyDescriptor
public PropertyDescriptor getPropertyDescriptor()
Description copied from interface:DefaultPropertySettings
Returns a PropertyDescriptor of the property that this instance ofDefaultPropertySettings
represents.- Specified by:
getPropertyDescriptor
in interfaceDefaultPropertySettings
-
isBaseProperty
public boolean isBaseProperty()
Description copied from interface:DefaultPropertySettings
Returns true if the property is configured as baseProperty.- Specified by:
isBaseProperty
in interfaceDefaultPropertySettings
- Returns:
- true if the property is configured as baseProperty, otherwise returns false.
-
-