Class AbstractAnnotation

  • All Implemented Interfaces:
    Annotation, WithId, WithProperties, WithType

    public abstract class AbstractAnnotation
    extends Object
    implements Annotation
    Abstract implementation of Annotation, providing correct implementations of equals, hashCode and toString.

    Two annotations are taken to be equal if the following properties are all equal. The actual implementation of the annotation is seen to be irrelevant and not checked.

    • id
    • type
    • properties
    • bounds
    • contentName
    • Constructor Detail

      • AbstractAnnotation

        public AbstractAnnotation()