Class PartyInfo.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final PartyInfo _storedValue
    • Constructor Detail

      • Builder

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

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

        public PartyInfo.Builder<_B> withFrom​(From from)
        Sets the new value of "from" (any previous value will be replaced)
        Parameters:
        from - New value of the "from" property.
      • withFrom

        public From.Builder<? extends PartyInfo.Builder<_B>> withFrom()
        Returns the existing builder or a new builder to build the value of the "from" property. Use From.Builder.end() to return to the current builder.
        Returns:
        A new builder to build the value of the "from" property. Use From.Builder.end() to return to the current builder.
      • withTo

        public PartyInfo.Builder<_B> withTo​(To to)
        Sets the new value of "to" (any previous value will be replaced)
        Parameters:
        to - New value of the "to" property.
      • withTo

        public To.Builder<? extends PartyInfo.Builder<_B>> withTo()
        Returns the existing builder or a new builder to build the value of the "to" property. Use To.Builder.end() to return to the current builder.
        Returns:
        A new builder to build the value of the "to" property. Use To.Builder.end() to return to the current builder.
      • build

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