- java.lang.Object
-
- io.annot8.testing.testimpl.TestAnnotationBuilder
-
- All Implemented Interfaces:
io.annot8.core.annotations.Annotation.Builder,io.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Annotation.Builder,io.annot8.core.annotations.Annotation>,io.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Annotation.Builder>,io.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Annotation.Builder>
public class TestAnnotationBuilder extends java.lang.Object implements io.annot8.core.annotations.Annotation.Builder
-
-
Constructor Summary
Constructors Constructor Description TestAnnotationBuilder(java.lang.String contentId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.annot8.common.implementations.factories.AnnotationBuilderFactoryfactory()io.annot8.core.annotations.Annotation.Builderfrom(io.annot8.core.annotations.Annotation from)io.annot8.core.annotations.Annotation.BuildernewId()io.annot8.core.annotations.Annotationsave()io.annot8.core.annotations.Annotation.BuilderwithBounds(io.annot8.core.bounds.Bounds bounds)io.annot8.core.annotations.Annotation.BuilderwithId(java.lang.String id)io.annot8.core.annotations.Annotation.BuilderwithoutProperty(java.lang.String key)io.annot8.core.annotations.Annotation.BuilderwithoutProperty(java.lang.String key, java.lang.Object value)io.annot8.core.annotations.Annotation.BuilderwithProperties(io.annot8.core.properties.Properties properties)io.annot8.core.annotations.Annotation.BuilderwithProperty(java.lang.String key, java.lang.Object value)io.annot8.core.annotations.Annotation.BuilderwithType(java.lang.String type)
-
-
-
Method Detail
-
factory
public static io.annot8.common.implementations.factories.AnnotationBuilderFactory factory()
-
withId
public io.annot8.core.annotations.Annotation.Builder withId(java.lang.String id)
- Specified by:
withIdin interfaceio.annot8.core.helpers.builders.WithIdBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withBounds
public io.annot8.core.annotations.Annotation.Builder withBounds(io.annot8.core.bounds.Bounds bounds)
- Specified by:
withBoundsin interfaceio.annot8.core.annotations.Annotation.Builder
-
save
public io.annot8.core.annotations.Annotation save()
- Specified by:
savein interfaceio.annot8.core.helpers.builders.WithSave<io.annot8.core.annotations.Annotation.Builder>
-
from
public io.annot8.core.annotations.Annotation.Builder from(io.annot8.core.annotations.Annotation from)
- Specified by:
fromin interfaceio.annot8.core.helpers.builders.WithFromBuilder<io.annot8.core.annotations.Annotation.Builder,io.annot8.core.annotations.Annotation>
-
newId
public io.annot8.core.annotations.Annotation.Builder newId()
- Specified by:
newIdin interfaceio.annot8.core.helpers.builders.WithNewIdBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withProperty
public io.annot8.core.annotations.Annotation.Builder withProperty(java.lang.String key, java.lang.Object value)- Specified by:
withPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withoutProperty
public io.annot8.core.annotations.Annotation.Builder withoutProperty(java.lang.String key, java.lang.Object value)- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withoutProperty
public io.annot8.core.annotations.Annotation.Builder withoutProperty(java.lang.String key)
- Specified by:
withoutPropertyin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withProperties
public io.annot8.core.annotations.Annotation.Builder withProperties(io.annot8.core.properties.Properties properties)
- Specified by:
withPropertiesin interfaceio.annot8.core.helpers.builders.WithPropertiesBuilder<io.annot8.core.annotations.Annotation.Builder>
-
withType
public io.annot8.core.annotations.Annotation.Builder withType(java.lang.String type)
- Specified by:
withTypein interfaceio.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Annotation.Builder>
-
-