public class ConfigurationPropertyDescriptor extends Object implements Descriptor
| Modifier and Type | Field and Description |
|---|---|
boolean |
list |
protected static org.apache.commons.logging.Log |
log |
protected String |
name |
boolean |
override |
protected String |
value |
UNIQUE_DESCRIPTOR_ID| Constructor and Description |
|---|
ConfigurationPropertyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationPropertyDescriptor |
clone() |
String |
getId()
The descriptor id, descriptors with same id are merged.
|
String |
getName() |
String |
getValue() |
boolean |
isList() |
boolean |
isOverride() |
Descriptor |
merge(Descriptor o)
Returns a descriptor representing
other merged into this |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdoesRemoveprotected static final org.apache.commons.logging.Log log
public boolean list
public boolean override
public ConfigurationPropertyDescriptor()
public ConfigurationPropertyDescriptor clone()
public String getId()
DescriptorTo forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString() for exemple.
getId in interface Descriptorpublic boolean isList()
public boolean isOverride()
public Descriptor merge(Descriptor o)
Descriptorother merged into this
Default implementation returns other.
merge in interface DescriptorCopyright © 2019 Nuxeo. All rights reserved.