public class ConfigPropertyImpl extends java.lang.Object implements ConfigProperty
ConfigProperty.Attribute, ConfigProperty.Tag| Modifier and Type | Field and Description |
|---|---|
protected XsdString |
configPropertyName
configPropertyName
|
protected XsdString |
configPropertyType
configPropertyType
|
protected XsdString |
configPropertyValue
configPropertyValue
|
protected java.util.ArrayList<LocalizedXsdString> |
description
description
|
protected java.lang.String |
id
id
|
protected boolean |
mandatory
mandatory
|
| Constructor and Description |
|---|
ConfigPropertyImpl(java.util.List<LocalizedXsdString> description,
XsdString configPropertyName,
XsdString configPropertyType,
XsdString configPropertyValue,
java.lang.String id)
Create a new ConfigProperty15.
|
ConfigPropertyImpl(java.util.List<LocalizedXsdString> description,
XsdString configPropertyName,
XsdString configPropertyType,
XsdString configPropertyValue,
java.lang.String id,
boolean mandatory)
Create a new ConfigProperty15.
|
| Modifier and Type | Method and Description |
|---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
XsdString |
getConfigPropertyName() |
XsdString |
getConfigPropertyType() |
XsdString |
getConfigPropertyValue() |
java.util.List<LocalizedXsdString> |
getDescriptions() |
java.lang.String |
getId()
Return the String representing xml ID
|
int |
hashCode() |
boolean |
isMandatory()
Is the config property mandatory
|
boolean |
isValueSet()
convenient method t verify if the value has already been set
|
void |
setMandatory(boolean v)
Is the config-property mandatory
|
java.lang.String |
toString() |
protected final java.util.ArrayList<LocalizedXsdString> description
protected final XsdString configPropertyName
protected final XsdString configPropertyType
protected final XsdString configPropertyValue
protected final java.lang.String id
protected boolean mandatory
public ConfigPropertyImpl(java.util.List<LocalizedXsdString> description, XsdString configPropertyName, XsdString configPropertyType, XsdString configPropertyValue, java.lang.String id)
description - the descriptionconfigPropertyName - name of config-propertyconfigPropertyType - type of config-propertyconfigPropertyValue - value of config-propertyid - id attribute in xml filepublic ConfigPropertyImpl(java.util.List<LocalizedXsdString> description, XsdString configPropertyName, XsdString configPropertyType, XsdString configPropertyValue, java.lang.String id, boolean mandatory)
description - the descriptionconfigPropertyName - name of config-propertyconfigPropertyType - type of config-propertyconfigPropertyValue - value of config-propertyid - id attribute in xml filemandatory - mandatorypublic java.util.List<LocalizedXsdString> getDescriptions()
getDescriptions in interface ConfigPropertypublic XsdString getConfigPropertyName()
getConfigPropertyName in interface ConfigPropertypublic XsdString getConfigPropertyType()
getConfigPropertyType in interface ConfigPropertypublic XsdString getConfigPropertyValue()
getConfigPropertyValue in interface ConfigPropertypublic java.lang.String getId()
ConfigPropertygetId in interface ConfigPropertygetId in interface IdDecoratedMetadataIdDecoratedMetadata.getId()public boolean isValueSet()
ConfigPropertyisValueSet in interface ConfigPropertypublic boolean isMandatory()
ConfigPropertyisMandatory in interface ConfigPropertypublic void setMandatory(boolean v)
v - The valuepublic CopyableMetaData copy()
CopyableMetaDatacopy in interface CopyableMetaDatapublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 IronJacamar (http://www.ironjacamar.org)