org.apache.uima.resource.metadata.impl
Class AllowedValue_impl

java.lang.Object
  extended by org.apache.uima.resource.metadata.impl.MetaDataObject_impl
      extended by 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 of AllowedValue.

See Also:
Serialized Form

Constructor Summary
AllowedValue_impl()
          Default constructor.
AllowedValue_impl(java.lang.String aString, java.lang.String aDescription)
          Constructor.
 
Method Summary
 java.lang.String getDescription()
          Gets the verbose description of this allowed value.
 java.lang.String getString()
          Gets the allowed value.
protected  XmlizationInfo getXmlizationInfo()
          To be implemented by subclasses to return information describing how to represent this object in XML.
 void setDescription(java.lang.String aDescription)
          Sets the verbose description of this allowed value.
 void setString(java.lang.String aString)
          Sets the allowed value.
 
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, 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 string
aDescription - verbose description of this allowed value
Method Detail

getString

public java.lang.String getString()
Description copied from interface: AllowedValue
Gets the allowed value.

Specified by:
getString in interface AllowedValue
Returns:
the allowed value string
See Also:
org.apache.uima.analysis_engine.metadata.AllowedValue#getString()

setString

public void setString(java.lang.String aString)
Description copied from interface: AllowedValue
Sets the allowed value.

Specified by:
setString in interface AllowedValue
Parameters:
aString - the allowed value string
See Also:
org.apache.uima.analysis_engine.metadata.AllowedValue#setString(java.lang.String)

getDescription

public java.lang.String getDescription()
Description copied from interface: AllowedValue
Gets the verbose description of this allowed value.

Specified by:
getDescription in interface AllowedValue
Returns:
the description of this allowed value
See Also:
org.apache.uima.analysis_engine.metadata.AllowedValue#getDescription()

setDescription

public void setDescription(java.lang.String aDescription)
Description copied from interface: AllowedValue
Sets the verbose description of this allowed value.

Specified by:
setDescription in interface AllowedValue
Parameters:
aDescription - the description of this allowed value
See Also:
org.apache.uima.analysis_engine.metadata.AllowedValue#setDescription(java.lang.String)

getXmlizationInfo

protected XmlizationInfo getXmlizationInfo()
Description copied from class: MetaDataObject_impl
To be implemented by subclasses to return information describing how to represent this object in XML.

Specified by:
getXmlizationInfo in class MetaDataObject_impl
Returns:
information defining this object's XML representation
See Also:
org.apache.uima.resource.impl.MetaDataObject_impl#getXmlizationInfo()


Copyright © 2011. All Rights Reserved.