Class 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.AnnotationBuilderFactory factory​()  
      io.annot8.core.annotations.Annotation.Builder from​(io.annot8.core.annotations.Annotation from)  
      io.annot8.core.annotations.Annotation.Builder newId​()  
      io.annot8.core.annotations.Annotation save​()  
      io.annot8.core.annotations.Annotation.Builder withBounds​(io.annot8.core.bounds.Bounds bounds)  
      io.annot8.core.annotations.Annotation.Builder withId​(java.lang.String id)  
      io.annot8.core.annotations.Annotation.Builder withoutProperty​(java.lang.String key)  
      io.annot8.core.annotations.Annotation.Builder withoutProperty​(java.lang.String key, java.lang.Object value)  
      io.annot8.core.annotations.Annotation.Builder withProperties​(io.annot8.core.properties.Properties properties)  
      io.annot8.core.annotations.Annotation.Builder withProperty​(java.lang.String key, java.lang.Object value)  
      io.annot8.core.annotations.Annotation.Builder withType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestAnnotationBuilder

        public TestAnnotationBuilder​(java.lang.String contentId)
    • 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:
        withId in interface io.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:
        withBounds in interface io.annot8.core.annotations.Annotation.Builder
      • save

        public io.annot8.core.annotations.Annotation save​()
        Specified by:
        save in interface io.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:
        from in interface io.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:
        newId in interface io.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:
        withProperty in interface io.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:
        withoutProperty in interface io.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:
        withoutProperty in interface io.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:
        withProperties in interface io.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:
        withType in interface io.annot8.core.helpers.builders.WithTypeBuilder<io.annot8.core.annotations.Annotation.Builder>