public class CmsPropertyConfig extends java.lang.Object implements I_CmsConfigurationObject<CmsPropertyConfig>, java.lang.Cloneable
(This is mostly a wrapper around CmsXmlContentProperty. We don't use that class directly because we may want to put server-specific logic in here, and CmsXmlContentProperty is used as a bean for RPC data transfer to the client.)
DEFAULT_ORDER| 构造器和说明 |
|---|
CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled)
Creates a new propery configuration bean.
|
CmsPropertyConfig(CmsXmlContentProperty propData,
boolean disabled,
int order)
Creates a new property configuration bean.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CmsPropertyConfig |
clone() |
java.lang.String |
getKey()
The name of the configuration object.
|
java.lang.String |
getName()
Gets the name of the property.
|
int |
getOrder()
Gets the order.
|
CmsXmlContentProperty |
getPropertyData()
Returns the property configuration data.
|
boolean |
isDisabled()
Returns true if the entry disables a property, rather than adding it.
|
CmsPropertyConfig |
merge(CmsPropertyConfig child)
Merges this configuration object with a child configuration object.
|
public CmsPropertyConfig(CmsXmlContentProperty propData, boolean disabled)
propData - the property datadisabled - true if this property is disabledpublic CmsPropertyConfig(CmsXmlContentProperty propData, boolean disabled, int order)
propData - the property datadisabled - true if this property is disabledorder - the number used for sorting the property configurationspublic CmsPropertyConfig clone()
clone 在类中 java.lang.ObjectObject.clone()public java.lang.String getKey()
I_CmsConfigurationObjectThis name should be unique for each single configuration
getKey 在接口中 I_CmsConfigurationObject<CmsPropertyConfig>I_CmsConfigurationObject.getKey()public java.lang.String getName()
public int getOrder()
public CmsXmlContentProperty getPropertyData()
public boolean isDisabled()
isDisabled 在接口中 I_CmsConfigurationObject<CmsPropertyConfig>public CmsPropertyConfig merge(CmsPropertyConfig child)
I_CmsConfigurationObjectmerge 在接口中 I_CmsConfigurationObject<CmsPropertyConfig>child - the child configuration objectI_CmsConfigurationObject.merge(org.opencms.ade.configuration.I_CmsConfigurationObject)