-
- All Superinterfaces:
WithFromBuilder<Group.Builder,Group>,WithIdBuilder<Group.Builder>,WithNewIdBuilder<Group.Builder>,WithPropertiesBuilder<Group.Builder>,WithSave<Group>,WithTypeBuilder<Group.Builder>
- Enclosing interface:
- Group
public static interface Group.Builder extends WithIdBuilder<Group.Builder>, WithTypeBuilder<Group.Builder>, WithPropertiesBuilder<Group.Builder>, WithNewIdBuilder<Group.Builder>, WithFromBuilder<Group.Builder,Group>, WithSave<Group>
Builder interface to create (immutable) Group classes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Group.BuilderwithAnnotation(String role, Annotation annotation)Add an annotation to this group with the specified role.-
Methods inherited from interface io.annot8.core.helpers.builders.WithFromBuilder
from
-
Methods inherited from interface io.annot8.core.helpers.builders.WithIdBuilder
withId
-
Methods inherited from interface io.annot8.core.helpers.builders.WithNewIdBuilder
newId
-
Methods inherited from interface io.annot8.core.helpers.builders.WithPropertiesBuilder
withoutProperty, withoutProperty, withProperties, withProperty
-
Methods inherited from interface io.annot8.core.helpers.builders.WithTypeBuilder
withType
-
-
-
-
Method Detail
-
withAnnotation
Group.Builder withAnnotation(String role, Annotation annotation)
Add an annotation to this group with the specified role.- Parameters:
role- the role within the groupannotation- the annotation to add- Returns:
- this builder for chaining
-
-