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)
      • withFaultcode

        public Fault.Builder<_B> withFaultcode​(QName faultcode)
        Sets the new value of "faultcode" (any previous value will be replaced)
        Parameters:
        faultcode - New value of the "faultcode" property.
      • withFaultstring

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

        public Fault.Builder<_B> withFaultactor​(String faultactor)
        Sets the new value of "faultactor" (any previous value will be replaced)
        Parameters:
        faultactor - New value of the "faultactor" 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