Class EmptyTermAnnotationError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EmptyTermAnnotationError>

    public class EmptyTermAnnotationError
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<EmptyTermAnnotationError>
    A term annotation with an empty annotation map (optional)
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.error.core.EmptyTermAnnotationError type.
      • LOCATION

        public static final Name LOCATION
        Name of the hydra.error.core.EmptyTermAnnotationError.location field.
      • location

        public final SubtermPath location
        The path to the empty annotation within the term
    • Constructor Detail

      • EmptyTermAnnotationError

        public EmptyTermAnnotationError​(SubtermPath location)
        Constructs an immutable EmptyTermAnnotationError.
        Parameters:
        location - The path to the empty annotation within the term
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object