Class Error.Builder<_B>

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

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

      • _parentBuilder

        protected final _B _parentBuilder
      • _storedValue

        protected final Error _storedValue
    • Constructor Detail

      • Builder

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

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

        public Error.Builder<_B> withDescription​(Description description)
        Sets the new value of "description" (any previous value will be replaced)
        Parameters:
        description - New value of the "description" property.
      • withErrorDetail

        public Error.Builder<_B> withErrorDetail​(String errorDetail)
        Sets the new value of "errorDetail" (any previous value will be replaced)
        Parameters:
        errorDetail - New value of the "errorDetail" property.
      • withCategory

        public Error.Builder<_B> withCategory​(String category)
        Sets the new value of "category" (any previous value will be replaced)
        Parameters:
        category - New value of the "category" property.
      • withRefToMessageInError

        public Error.Builder<_B> withRefToMessageInError​(String refToMessageInError)
        Sets the new value of "refToMessageInError" (any previous value will be replaced)
        Parameters:
        refToMessageInError - New value of the "refToMessageInError" property.
      • withErrorCode

        public Error.Builder<_B> withErrorCode​(String errorCode)
        Sets the new value of "errorCode" (any previous value will be replaced)
        Parameters:
        errorCode - New value of the "errorCode" property.
      • withOrigin

        public Error.Builder<_B> withOrigin​(String origin)
        Sets the new value of "origin" (any previous value will be replaced)
        Parameters:
        origin - New value of the "origin" property.
      • withSeverity

        public Error.Builder<_B> withSeverity​(String severity)
        Sets the new value of "severity" (any previous value will be replaced)
        Parameters:
        severity - New value of the "severity" property.
      • withShortDescription

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

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