Class Property.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Property _storedValue
    • Constructor Detail

      • Builder

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

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

        public Property.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.
      • withName

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

        public Property.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 Property build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable