Class Body.Builder<_B>

  • All Implemented Interfaces:
    com.kscs.util.jaxb.Buildable
    Enclosing class:
    Body

    public static class Body.Builder<_B>
    extends Object
    implements com.kscs.util.jaxb.Buildable
    • Field Detail

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Body _storedValue
    • Constructor Detail

      • Builder

        public Builder​(_B _parentBuilder,
                       Body _other,
                       boolean _copy)
      • Builder

        public Builder​(_B _parentBuilder,
                       Body _other,
                       boolean _copy,
                       com.kscs.util.jaxb.PropertyTree _propertyTree,
                       com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • Method Detail

      • end

        public _B end()
      • init

        protected <_P extends Body> _P init​(_P _product)
      • addAny

        public Body.Builder<_B> addAny​(Iterable<?> any)
        Adds the given items to the value of "any"
        Parameters:
        any - Items to add to the value of the "any" property
      • withAny

        public Body.Builder<_B> withAny​(Iterable<?> any)
        Sets the new value of "any" (any previous value will be replaced)
        Parameters:
        any - New value of the "any" property.
      • addAny

        public Body.Builder<_B> addAny​(Object... any)
        Adds the given items to the value of "any"
        Parameters:
        any - Items to add to the value of the "any" property
      • withAny

        public Body.Builder<_B> withAny​(Object... any)
        Sets the new value of "any" (any previous value will be replaced)
        Parameters:
        any - New value of the "any" property.
      • build

        public Body build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable