Class DefaultPropertySettingsImpl
java.lang.Object
de.hybris.platform.cockpit.services.config.impl.DefaultPropertySettingsImpl
- All Implemented Interfaces:
DefaultPropertySettings
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPropertySettingsImpl(String defaultEditorCode, Map<String, String> parameters, PropertyDescriptor propertyDescriptor, boolean baseProperty) -
Method Summary
Modifier and TypeMethodDescriptionReturns editorCode configured for the property.Returns a map of all parameters configured for the property.Returns a PropertyDescriptor of the property that this instance ofDefaultPropertySettingsrepresents.booleanReturns true if the property is configured as baseProperty.
-
Constructor Details
-
DefaultPropertySettingsImpl
public DefaultPropertySettingsImpl(String defaultEditorCode, Map<String, String> parameters, PropertyDescriptor propertyDescriptor, boolean baseProperty)
-
-
Method Details
-
getDefaultEditorCode
Description copied from interface:DefaultPropertySettingsReturns editorCode configured for the property.- Specified by:
getDefaultEditorCodein interfaceDefaultPropertySettings- Returns:
- configured editorCode or null if no editorCode is configured.
-
getParameters
Description copied from interface:DefaultPropertySettingsReturns a map of all parameters configured for the property.- Specified by:
getParametersin interfaceDefaultPropertySettings- Returns:
- a map (name->value) of parameters configured for the property. Returns empty map if there are no configured parameters.
-
getPropertyDescriptor
Description copied from interface:DefaultPropertySettingsReturns a PropertyDescriptor of the property that this instance ofDefaultPropertySettingsrepresents.- Specified by:
getPropertyDescriptorin interfaceDefaultPropertySettings
-
isBaseProperty
public boolean isBaseProperty()Description copied from interface:DefaultPropertySettingsReturns true if the property is configured as baseProperty.- Specified by:
isBasePropertyin interfaceDefaultPropertySettings- Returns:
- true if the property is configured as baseProperty, otherwise returns false.
-