Class TypeOrFeature_impl

    • Field Detail

      • mType

        private boolean mType
      • mName

        private java.lang.String mName
      • mAllAnnotatorFeatures

        private boolean mAllAnnotatorFeatures
    • Constructor Detail

      • TypeOrFeature_impl

        public TypeOrFeature_impl()
    • Method Detail

      • isAllAnnotatorFeatures

        public boolean isAllAnnotatorFeatures()
        Description copied from interface: TypeOrFeature
        For Type references, this method determines whether this reference should be considered to also refer to all features of the Type that are known to the annotator. This field is not used for Feature references.
        Specified by:
        isAllAnnotatorFeatures in interface TypeOrFeature
        Returns:
        true if this is a reference to all features, false if it is only a reference to the type
        See Also:
        TypeOrFeature.isAllAnnotatorFeatures()
      • setAllAnnotatorFeatures

        public void setAllAnnotatorFeatures​(boolean aAllAnnotatorFeatures)
        Description copied from interface: TypeOrFeature
        For Type references, sets whether this reference should be considered to also refer to all features of the Type that are known to the annotator. This field is not used for Feature references.
        Specified by:
        setAllAnnotatorFeatures in interface TypeOrFeature
        Parameters:
        aAllAnnotatorFeatures - true if this is a reference to all features, false if it is only a reference to the type
        See Also:
        TypeOrFeature.setAllAnnotatorFeatures(boolean)
      • toXML

        public void toXML​(org.xml.sax.ContentHandler aContentHandler,
                          boolean aWriteDefaultNamespaceAttribute)
                   throws org.xml.sax.SAXException
        Overridden to provide custom XML representation.
        Specified by:
        toXML in interface XMLizable
        Overrides:
        toXML in class MetaDataObject_impl
        Parameters:
        aContentHandler - the content handler to which this object will write events that describe its XML representation.
        aWriteDefaultNamespaceAttribute - whether the namespace of this element should be written as the default namespace. This should be done only for the root element, and it defaults to false.
        Throws:
        org.xml.sax.SAXException - pass thru
        See Also:
        XMLizable.toXML(ContentHandler)
      • toXMLinner

        public void toXMLinner​(boolean aWriteDefaultNamespaceAttribute)
                        throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • compareTo

        public int compareTo​(TypeOrFeature obj)
        Specified by:
        compareTo in interface java.lang.Comparable<TypeOrFeature>
        See Also:
        Comparable.compareTo(java.lang.Object)
      • hashCode

        public int hashCode()
        Description copied from class: MetaDataObject_impl
        Gets the hash code for this object. The hash codes of two NameClassPairs x and y must be equal if x.equals(y) returns true;
        Overrides:
        hashCode in class MetaDataObject_impl
        Returns:
        the hash code for this object
      • equals

        public boolean equals​(java.lang.Object obj)
        Description copied from class: MetaDataObject_impl
        Determines if this object is equal to another. Two MetaDataObjects are equivalent if they share the same attributes and the same values for those attributes.
        Specified by:
        equals in interface MetaDataObject
        Overrides:
        equals in class MetaDataObject_impl
        Parameters:
        obj - object with which to compare this object
        Returns:
        true if and only if this object is equal to aObj