- java.lang.Object
-
- io.annot8.defaultimpl.annotations.DefaultGroup.Builder
-
- All Implemented Interfaces:
io.annot8.core.annotations.Group.Builder,io.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Group.Builder,io.annot8.core.annotations.Group>,io.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Group.Builder>,io.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Group.Builder>,io.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Group.Builder>,io.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Group.Builder>,io.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Group.Builder>
- Enclosing class:
- DefaultGroup
public static class DefaultGroup.Builder extends java.lang.Object implements io.annot8.core.annotations.Group.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 io.annot8.core.annotations.Group.Builderfrom(io.annot8.core.annotations.Group from)io.annot8.core.annotations.Group.BuildernewId()io.annot8.core.annotations.Groupsave()io.annot8.core.annotations.Group.BuilderwithAnnotation(java.lang.String role, io.annot8.core.annotations.Annotation annotation)io.annot8.core.annotations.Group.BuilderwithId(java.lang.String id)io.annot8.core.annotations.Group.BuilderwithoutProperty(java.lang.String key)io.annot8.core.annotations.Group.BuilderwithoutProperty(java.lang.String key, java.lang.Object value)io.annot8.core.annotations.Group.BuilderwithProperties(io.annot8.core.properties.Properties properties)io.annot8.core.annotations.Group.BuilderwithProperty(java.lang.String key, java.lang.Object value)io.annot8.core.annotations.Group.BuilderwithType(java.lang.String type)
-
-
-
Method Detail
-
withId
public io.annot8.core.annotations.Group.Builder withId(java.lang.String id)
- Specified by:
withIdin interfaceio.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Group.Builder>
-
withType
public io.annot8.core.annotations.Group.Builder withType(java.lang.String type)
- Specified by:
withTypein interfaceio.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Group.Builder>
-
withProperty
public io.annot8.core.annotations.Group.Builder withProperty(java.lang.String key, java.lang.Object value)- Specified by:
withPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Group.Builder>
-
withoutProperty
public io.annot8.core.annotations.Group.Builder withoutProperty(java.lang.String key, java.lang.Object value)- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Group.Builder>
-
withoutProperty
public io.annot8.core.annotations.Group.Builder withoutProperty(java.lang.String key)
- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Group.Builder>
-
withProperties
public io.annot8.core.annotations.Group.Builder withProperties(io.annot8.core.properties.Properties properties)
- Specified by:
withPropertiesin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Group.Builder>
-
newId
public io.annot8.core.annotations.Group.Builder newId()
- Specified by:
newIdin interfaceio.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Group.Builder>
-
from
public io.annot8.core.annotations.Group.Builder from(io.annot8.core.annotations.Group from)
- Specified by:
fromin interfaceio.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Group.Builder,io.annot8.core.annotations.Group>
-
save
public io.annot8.core.annotations.Group save() throws io.annot8.core.exceptions.IncompleteException- Specified by:
savein interfaceio.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Group.Builder>- Throws:
io.annot8.core.exceptions.IncompleteException
-
withAnnotation
public io.annot8.core.annotations.Group.Builder withAnnotation(java.lang.String role, io.annot8.core.annotations.Annotation annotation)- Specified by:
withAnnotationin interfaceio.annot8.core.annotations.Group.Builder
-
-