Class CmsPreferenceData
- java.lang.Object
-
- org.opencms.configuration.preferences.CmsPreferenceData
-
public class CmsPreferenceData extends java.lang.Object
Bean representing the configurable attributes for a preference.
-
-
Constructor Summary
Constructors Constructor Description CmsPreferenceData(java.lang.String name, java.lang.String value, CmsXmlContentProperty prop, java.lang.String tab)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
Gets the default value for the preference.java.lang.String
getName()
Gets the name of the preference.CmsXmlContentProperty
getPropertyDefinition()
Gets the preference definition.java.lang.String
getTab()
Gets the tab on which the preference should be displayed.
-
-
-
Constructor Detail
-
CmsPreferenceData
public CmsPreferenceData(java.lang.String name, java.lang.String value, CmsXmlContentProperty prop, java.lang.String tab)
Creates a new instance.- Parameters:
name
- the preference namevalue
- the preference valueprop
- the preference configurationtab
- the tab on which to display the preference
-
-
Method Detail
-
getDefaultValue
public java.lang.String getDefaultValue()
Gets the default value for the preference.- Returns:
- the default value for the preference
-
getName
public java.lang.String getName()
Gets the name of the preference.- Returns:
- the preference name
-
getPropertyDefinition
public CmsXmlContentProperty getPropertyDefinition()
Gets the preference definition.- Returns:
- the preference definition
-
getTab
public java.lang.String getTab()
Gets the tab on which the preference should be displayed.- Returns:
- the tab on which the preference should be displayed
-
-