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
|
Constructor and Description |
---|
ConfigPropertyImpl(java.util.List<LocalizedXsdString> description,
XsdString configPropertyName,
XsdString configPropertyType,
XsdString configPropertyValue,
java.lang.String id)
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 |
isValueSet()
convenient method t verify if the value has already been set
|
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
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 java.util.List<LocalizedXsdString> getDescriptions()
getDescriptions
in interface ConfigProperty
public XsdString getConfigPropertyName()
getConfigPropertyName
in interface ConfigProperty
public XsdString getConfigPropertyType()
getConfigPropertyType
in interface ConfigProperty
public XsdString getConfigPropertyValue()
getConfigPropertyValue
in interface ConfigProperty
public java.lang.String getId()
ConfigProperty
getId
in interface ConfigProperty
getId
in interface IdDecoratedMetadata
IdDecoratedMetadata.getId()
public boolean isValueSet()
ConfigProperty
isValueSet
in interface ConfigProperty
public CopyableMetaData copy()
CopyableMetaData
copy
in interface CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)