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

public class AllowedValue_impl extends MetaDataObject_impl implements AllowedValue
Reference implementation of AllowedValue.
See Also:
  • Constructor Details

    • AllowedValue_impl

      public AllowedValue_impl()
    • AllowedValue_impl

      public AllowedValue_impl(String aString, String aDescription)
      Constructor.
      Parameters:
      aString - the allowed value string
      aDescription - verbose description of this allowed value
  • Method Details

    • getString

      public String getString()
      Specified by:
      getString in interface AllowedValue
      Returns:
      the allowed value.
    • setString

      public void setString(String aString)
      Description copied from interface: AllowedValue
      Sets the allowed value.
      Specified by:
      setString in interface AllowedValue
      Parameters:
      aString - the allowed value string
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface AllowedValue
      Returns:
      the verbose description of this allowed value.
    • setDescription

      public void setDescription(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
    • 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