Class From.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final From _storedValue
    • Constructor Detail

      • Builder

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

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

        public From.Builder<_B> addPartyId​(Iterable<? extends PartyId> partyId)
        Adds the given items to the value of "partyId"
        Parameters:
        partyId - Items to add to the value of the "partyId" property
      • withPartyId

        public From.Builder<_B> withPartyId​(Iterable<? extends PartyId> partyId)
        Sets the new value of "partyId" (any previous value will be replaced)
        Parameters:
        partyId - New value of the "partyId" property.
      • addPartyId

        public From.Builder<_B> addPartyId​(PartyId... partyId)
        Adds the given items to the value of "partyId"
        Parameters:
        partyId - Items to add to the value of the "partyId" property
      • withPartyId

        public From.Builder<_B> withPartyId​(PartyId... partyId)
        Sets the new value of "partyId" (any previous value will be replaced)
        Parameters:
        partyId - New value of the "partyId" property.
      • addPartyId

        public PartyId.Builder<? extends From.Builder<_B>> addPartyId()
        Returns a new builder to build an additional value of the "PartyId" property. Use PartyId.Builder.end() to return to the current builder.
        Returns:
        a new builder to build an additional value of the "PartyId" property. Use PartyId.Builder.end() to return to the current builder.
      • withRole

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

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