Class DefaultAnnotation



  • public class DefaultAnnotation
    extends io.annot8.common.implementations.annotations.AbstractAnnotation
    Simple implementation of Annotation interface
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DefaultAnnotation.Builder
      AbstractContentBuilder class for DefaultAnnotation, using UUID for generating new IDs and InMemoryImmutableProperties or EmptyImmutableProperties for the properties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.annot8.core.bounds.Bounds getBounds​()  
      java.lang.String getContentId​()  
      java.lang.String getId​()  
      io.annot8.core.properties.ImmutableProperties getProperties​()  
      java.lang.String getType​()  
      • Methods inherited from class io.annot8.common.implementations.annotations.AbstractAnnotation

        equals, hashCode, toString
      • Methods inherited from interface io.annot8.core.annotations.Annotation

        getBounds, sameAnnotation
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getId

        public java.lang.String getId​()
      • getType

        public java.lang.String getType​()
      • getProperties

        public io.annot8.core.properties.ImmutableProperties getProperties​()
      • getBounds

        public io.annot8.core.bounds.Bounds getBounds​()
      • getContentId

        public java.lang.String getContentId​()