Class TestAnnotationReference

  • All Implemented Interfaces:
    io.annot8.core.references.AnnotationReference

    public class TestAnnotationReference
    extends Object
    implements io.annot8.core.references.AnnotationReference
    • Constructor Detail

      • TestAnnotationReference

        public TestAnnotationReference​(io.annot8.core.annotations.Annotation annotation)
    • Method Detail

      • getAnnotationId

        public String getAnnotationId()
        Specified by:
        getAnnotationId in interface io.annot8.core.references.AnnotationReference
      • getContentId

        public String getContentId()
        Specified by:
        getContentId in interface io.annot8.core.references.AnnotationReference
      • toAnnotation

        public Optional<io.annot8.core.annotations.Annotation> toAnnotation()
        Specified by:
        toAnnotation in interface io.annot8.core.references.AnnotationReference
      • setAnnotation

        public void setAnnotation​(io.annot8.core.annotations.Annotation annotation)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object