Class AllowedValue_impl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.resource.metadata.impl.AllowedValue_impl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,AllowedValue,MetaDataObject,XMLizable
public class AllowedValue_impl extends MetaDataObject_impl implements AllowedValue
Reference implementation ofAllowedValue.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
-
Field Summary
-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description AllowedValue_impl()Default constructor.AllowedValue_impl(java.lang.String aString, java.lang.String aDescription)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the verbose description of this allowed value.java.lang.StringgetString()Gets the allowed value.protected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidsetDescription(java.lang.String aDescription)Sets the verbose description of this allowed value.voidsetString(java.lang.String aString)Sets the allowed value.-
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
-
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
-
-
-
Constructor Detail
-
AllowedValue_impl
public AllowedValue_impl()
Default constructor.
-
AllowedValue_impl
public AllowedValue_impl(java.lang.String aString, java.lang.String aDescription)Constructor.- Parameters:
aString- the allowed value stringaDescription- verbose description of this allowed value
-
-
Method Detail
-
getString
public java.lang.String getString()
Description copied from interface:AllowedValueGets the allowed value.- Specified by:
getStringin interfaceAllowedValue- Returns:
- the allowed value string
- See Also:
AllowedValue.getString()
-
setString
public void setString(java.lang.String aString)
Description copied from interface:AllowedValueSets the allowed value.- Specified by:
setStringin interfaceAllowedValue- Parameters:
aString- the allowed value string- See Also:
AllowedValue.setString(java.lang.String)
-
getDescription
public java.lang.String getDescription()
Description copied from interface:AllowedValueGets the verbose description of this allowed value.- Specified by:
getDescriptionin interfaceAllowedValue- Returns:
- the description of this allowed value
- See Also:
AllowedValue.getDescription()
-
setDescription
public void setDescription(java.lang.String aDescription)
Description copied from interface:AllowedValueSets the verbose description of this allowed value.- Specified by:
setDescriptionin interfaceAllowedValue- Parameters:
aDescription- the description of this allowed value- See Also:
AllowedValue.setDescription(java.lang.String)
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
- See Also:
MetaDataObject_impl.getXmlizationInfo()
-
-