Class RoleType.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final RoleType _storedValue
    • Constructor Detail

      • Builder

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

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

        public RoleType.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 RoleType.Builder<_B> withType​(TypeType type)
        Sets the new value of "type" (any previous value will be replaced)
        Parameters:
        type - New value of the "type" property.
      • withHref

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

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