Class AbstractGroup
- java.lang.Object
-
- io.annot8.implementations.support.annotations.AbstractGroup
-
- All Implemented Interfaces:
Group,WithId,WithProperties,WithType
public abstract class AbstractGroup extends Object implements Group
Abstract implementation of Group, providing correct implementations of equals, hashCode and toString.Two groups are taken to be equal if the following properties are all equal. The actual implementation of the group is seen to be irrelevant and not checked.
- id
- type
- properties
- annotationReferences
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.annot8.api.annotations.Group
Group.Builder
-
-
Constructor Summary
Constructors Constructor Description AbstractGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.annot8.api.annotations.Group
containsAnnotation, containsRole, getAnnotations, getAnnotations, getAnnotationsForContent, getAnnotationsForContentAndRole, getReferences, getRole, getRoles, sameGroup
-
Methods inherited from interface io.annot8.api.helpers.WithProperties
getProperties
-
-