Package org.w3.soap

Class Fault.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Fault _storedValue
    • Constructor Detail

      • Builder

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

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

        public Fault.Builder<_B> withCode​(Faultcode code)
        Sets the new value of "code" (any previous value will be replaced)
        Parameters:
        code - New value of the "code" property.
      • withReason

        public Fault.Builder<_B> withReason​(Faultreason reason)
        Sets the new value of "reason" (any previous value will be replaced)
        Parameters:
        reason - New value of the "reason" property.
      • withNode

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

        public Fault.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.
      • withDetail

        public Fault.Builder<_B> withDetail​(Detail detail)
        Sets the new value of "detail" (any previous value will be replaced)
        Parameters:
        detail - New value of the "detail" property.
      • withDetail

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

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