Class TypePriorityList_impl

java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.resource.metadata.impl.TypePriorityList_impl
All Implemented Interfaces:
Serializable, Cloneable, MetaDataObject, TypePriorityList, XMLizable

public class TypePriorityList_impl extends MetaDataObject_impl implements TypePriorityList
Reference implementation of TypePriorityList.
See Also:
  • Constructor Details

    • TypePriorityList_impl

      public TypePriorityList_impl()
  • Method Details

    • getTypes

      public String[] getTypes()
      Description copied from interface: TypePriorityList
      Gets the type names, in order of their priority.
      Specified by:
      getTypes in interface TypePriorityList
      Returns:
      an array of type names, in order of their priority
    • setTypes

      public void setTypes(String... aTypeNames)
      Description copied from interface: TypePriorityList
      Sets the type names, in order of their priority.
      Specified by:
      setTypes in interface TypePriorityList
      Parameters:
      aTypeNames - an array type names, in order of their priority
    • addType

      public void addType(String aTypeName)
      Description copied from interface: TypePriorityList
      Adds a type at the end of the priority list.
      Specified by:
      addType in interface TypePriorityList
      Parameters:
      aTypeName - the type name to add
    • removeType

      public void removeType(String aTypeName)
      Description copied from interface: TypePriorityList
      Removes a type from the priority list.
      Specified by:
      removeType in interface TypePriorityList
      Parameters:
      aTypeName - the type name to remove
    • clone

      public Object clone()
      Description copied from interface: MetaDataObject
      Creates a clone of this MetaDataObject. This performs a "deep" copy by cloning all attribute values that are also MetaDataObjects.
      Specified by:
      clone in interface MetaDataObject
      Overrides:
      clone in class MetaDataObject_impl
      Returns:
      a clone of this MetaDataObject
    • 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