Class DefaultGroup

  • All Implemented Interfaces:
    io.annot8.core.annotations.Group, io.annot8.core.helpers.WithId, io.annot8.core.helpers.WithProperties, io.annot8.core.helpers.WithType

    public class DefaultGroup
    extends io.annot8.common.implementations.annotations.AbstractGroup
    Simple implementation of Group interface
    • Nested Class Summary

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

      • getId

        public String getId()
      • getType

        public String getType()
      • getProperties

        public io.annot8.core.properties.ImmutableProperties getProperties()
      • getReferences

        public Map<String,Stream<io.annot8.core.references.AnnotationReference>> getReferences()
      • getRole

        public Optional<String> getRole​(io.annot8.core.annotations.Annotation annotation)
      • containsAnnotation

        public boolean containsAnnotation​(io.annot8.core.annotations.Annotation annotation)