Class TestAnnotationReference

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


    public class TestAnnotationReference
    extends java.lang.Object
    implements io.annot8.core.references.AnnotationReference
    • Constructor Summary

      Constructors 
      Constructor Description
      TestAnnotationReference​(io.annot8.core.annotations.Annotation annotation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getAnnotationId​()  
      java.lang.String getContentId​()  
      int hashCode​()  
      void setAnnotation​(io.annot8.core.annotations.Annotation annotation)  
      java.util.Optional<io.annot8.core.annotations.Annotation> toAnnotation​()  
      • Methods inherited from interface io.annot8.core.references.AnnotationReference

        toAnnotations
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestAnnotationReference

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

      • getAnnotationId

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

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

        public java.util.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)
      • equals

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

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