|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.xml.content.CmsXmlContentProperty
public class CmsXmlContentProperty
Describes both VFS properties and Container Page Element settings, used by the GWT client.
Warning: This class is used by GWT client-side code (See GwtBase.gwt.xml for a list of classes used by GWT client-side code). If you change this class, either make sure that your changes are compatible with GWT, or write a separate client version of the class and put it into super_src.
Nested Class Summary | |
---|---|
static class |
CmsXmlContentProperty.PropType
Type constants. |
static class |
CmsXmlContentProperty.XmlNode
XML node name constants. |
Field Summary | |
---|---|
static String |
PROP_SEPARATOR
IDs separator constant. |
Constructor Summary | |
---|---|
protected |
CmsXmlContentProperty()
Serialization constructor. |
|
CmsXmlContentProperty(String name,
String type,
String widget,
String widgetConfiguration,
String ruleRegex,
String ruleType,
String default1,
String niceName,
String description,
String error,
String preferFolder)
Public constructor. |
Method Summary | |
---|---|
CmsXmlContentProperty |
copy()
Copies this property definition. |
String |
getDefault()
Returns the default. |
String |
getDescription()
Returns the description. |
String |
getError()
Returns the error. |
String |
getName()
Returns the property name. |
String |
getNiceName()
Returns the niceName. |
String |
getRuleRegex()
Returns the ruleRegex. |
String |
getRuleType()
Returns the rule type. |
String |
getSelectInherit()
Returns a value which indicates whether the user can control the inheritance of this property. |
String |
getType()
Returns the property type. |
String |
getWidget()
Returns the widget. |
String |
getWidgetConfiguration()
Returns the widgetConfiguration. |
boolean |
isPreferFolder()
Returns the value of the "prefer folder" option. |
CmsXmlContentProperty |
withNiceName(String niceName)
Copies a property definition, but replaces the nice name attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_SEPARATOR
Constructor Detail |
---|
public CmsXmlContentProperty(String name, String type, String widget, String widgetConfiguration, String ruleRegex, String ruleType, String default1, String niceName, String description, String error, String preferFolder)
name
- the property nametype
- the property type (string|uri)widget
- the widgetwidgetConfiguration
- the widget configurationruleRegex
- the validation rule regexruleType
- the validation rule typedefault1
- the default valueniceName
- the nice-namedescription
- the descriptionerror
- the error messagepreferFolder
- the "prefer folder" optionprotected CmsXmlContentProperty()
Method Detail |
---|
public CmsXmlContentProperty copy()
public String getDefault()
public String getDescription()
public String getError()
public String getNiceName()
public String getName()
public String getType()
public String getRuleRegex()
public String getRuleType()
public String getSelectInherit()
public String getWidget()
public String getWidgetConfiguration()
public boolean isPreferFolder()
This flag determines whether a property entered in the sitemap entry editor should be stored by default at the folder or at the default file of a sitemap entry. It only has an effect if the sitemap entry being edited doesn't already have a value for that property at either location.
public CmsXmlContentProperty withNiceName(String niceName)
niceName
- the new nice name attribute
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |