Class DelegateAnnotationBuilder

  • All Implemented Interfaces:
    io.annot8.api.annotations.Annotation.Builder, io.annot8.api.helpers.builders.WithFromBuilder<io.annot8.api.annotations.Annotation.Builder,​io.annot8.api.annotations.Annotation>, io.annot8.api.helpers.builders.WithIdBuilder<io.annot8.api.annotations.Annotation.Builder>, io.annot8.api.helpers.builders.WithNewIdBuilder<io.annot8.api.annotations.Annotation.Builder>, io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>, io.annot8.api.helpers.builders.WithSave<io.annot8.api.annotations.Annotation>, io.annot8.api.helpers.builders.WithTypeBuilder<io.annot8.api.annotations.Annotation.Builder>

    public class DelegateAnnotationBuilder
    extends Object
    implements io.annot8.api.annotations.Annotation.Builder
    • Constructor Detail

      • DelegateAnnotationBuilder

        public DelegateAnnotationBuilder​(io.annot8.api.annotations.Annotation.Builder delegate)
    • Method Detail

      • withBounds

        public io.annot8.api.annotations.Annotation.Builder withBounds​(io.annot8.api.bounds.Bounds bounds)
        Specified by:
        withBounds in interface io.annot8.api.annotations.Annotation.Builder
      • from

        public io.annot8.api.annotations.Annotation.Builder from​(io.annot8.api.annotations.Annotation from)
        Specified by:
        from in interface io.annot8.api.helpers.builders.WithFromBuilder<io.annot8.api.annotations.Annotation.Builder,​io.annot8.api.annotations.Annotation>
      • withId

        public io.annot8.api.annotations.Annotation.Builder withId​(String id)
        Specified by:
        withId in interface io.annot8.api.helpers.builders.WithIdBuilder<io.annot8.api.annotations.Annotation.Builder>
      • newId

        public io.annot8.api.annotations.Annotation.Builder newId()
        Specified by:
        newId in interface io.annot8.api.helpers.builders.WithNewIdBuilder<io.annot8.api.annotations.Annotation.Builder>
      • withProperty

        public io.annot8.api.annotations.Annotation.Builder withProperty​(String key,
                                                                         Object value)
        Specified by:
        withProperty in interface io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>
      • withPropertyIfPresent

        public io.annot8.api.annotations.Annotation.Builder withPropertyIfPresent​(String key,
                                                                                  Optional<?> value)
        Specified by:
        withPropertyIfPresent in interface io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>
      • withoutProperty

        public io.annot8.api.annotations.Annotation.Builder withoutProperty​(String key,
                                                                            Object value)
        Specified by:
        withoutProperty in interface io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>
      • withoutProperty

        public io.annot8.api.annotations.Annotation.Builder withoutProperty​(String key)
        Specified by:
        withoutProperty in interface io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>
      • withProperties

        public io.annot8.api.annotations.Annotation.Builder withProperties​(io.annot8.api.properties.Properties properties)
        Specified by:
        withProperties in interface io.annot8.api.helpers.builders.WithPropertiesBuilder<io.annot8.api.annotations.Annotation.Builder>
      • save

        public io.annot8.api.annotations.Annotation save()
        Specified by:
        save in interface io.annot8.api.helpers.builders.WithSave<io.annot8.api.annotations.Annotation>
      • withType

        public io.annot8.api.annotations.Annotation.Builder withType​(String type)
        Specified by:
        withType in interface io.annot8.api.helpers.builders.WithTypeBuilder<io.annot8.api.annotations.Annotation.Builder>