- java.lang.Object
-
- io.annot8.common.implementations.annotations.AbstractGroup
-
- io.annot8.defaultimpl.annotations.DefaultGroup
-
public class DefaultGroup extends io.annot8.common.implementations.annotations.AbstractGroupSimple implementation of Group interface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultGroup.BuilderAbstractContentBuilder class for DefaultGroup, 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 booleancontainsAnnotation(io.annot8.core.annotations.Annotation annotation)java.lang.StringgetId()io.annot8.core.properties.ImmutablePropertiesgetProperties()java.util.Map<java.lang.String,java.util.stream.Stream<io.annot8.core.references.AnnotationReference>>getReferences()java.util.Optional<java.lang.String>getRole(io.annot8.core.annotations.Annotation annotation)java.lang.StringgetType()-
Methods inherited from class io.annot8.common.implementations.annotations.AbstractGroup
equals, hashCode, toString
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getType
public java.lang.String getType()
-
getProperties
public io.annot8.core.properties.ImmutableProperties getProperties()
-
getReferences
public java.util.Map<java.lang.String,java.util.stream.Stream<io.annot8.core.references.AnnotationReference>> getReferences()
-
getRole
public java.util.Optional<java.lang.String> getRole(io.annot8.core.annotations.Annotation annotation)
-
containsAnnotation
public boolean containsAnnotation(io.annot8.core.annotations.Annotation annotation)
-
-