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:
Serializable,Cloneable,AllowedValue,MetaDataObject,XMLizable
Reference implementation of
AllowedValue.- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlizationInfoTo be implemented by subclasses to return information describing how to represent this object in XML.voidsetDescription(String aDescription) Sets the verbose description of this allowed value.voidSets 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, writePropertyAsElementMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Constructor Details
-
AllowedValue_impl
public AllowedValue_impl() -
AllowedValue_impl
Constructor.- Parameters:
aString- the allowed value stringaDescription- verbose description of this allowed value
-
-
Method Details
-
getString
- Specified by:
getStringin interfaceAllowedValue- Returns:
- the allowed value.
-
setString
Description copied from interface:AllowedValueSets the allowed value.- Specified by:
setStringin interfaceAllowedValue- Parameters:
aString- the allowed value string
-
getDescription
- Specified by:
getDescriptionin interfaceAllowedValue- Returns:
- the verbose description of this allowed value.
-
setDescription
Description copied from interface:AllowedValueSets the verbose description of this allowed value.- Specified by:
setDescriptionin interfaceAllowedValue- Parameters:
aDescription- the description of this allowed value
-
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
-