Class Service.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Service _storedValue
    • Constructor Detail

      • Builder

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

        public Builder​(_B _parentBuilder,
                       Service _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 Service> _P init​(_P _product)
      • withValue

        public Service.Builder<_B> withValue​(String value)
        Sets the new value of "value" (any previous value will be replaced)
        Parameters:
        value - New value of the "value" property.
      • withType

        public Service.Builder<_B> withType​(String type)
        Sets the new value of "type" (any previous value will be replaced)
        Parameters:
        type - New value of the "type" property.
      • build

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