- java.lang.Object
-
- io.annot8.common.implementations.annotations.AbstractGroup
-
- io.annot8.defaultimpl.annotations.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.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)StringgetId()io.annot8.core.properties.ImmutablePropertiesgetProperties()Map<String,Stream<io.annot8.core.references.AnnotationReference>>getReferences()Optional<String>getRole(io.annot8.core.annotations.Annotation annotation)StringgetType()-
Methods inherited from class io.annot8.common.implementations.annotations.AbstractGroup
equals, hashCode, toString
-
-
-
-
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()
-
containsAnnotation
public boolean containsAnnotation(io.annot8.core.annotations.Annotation annotation)
-
-