Class ParameterDefinition


  • public class ParameterDefinition
    extends Object
    The class models an error code parameter.
    • Field Detail

      • UNDEFINED_PARAMETER

        public static final ParameterDefinition UNDEFINED_PARAMETER
        Replacement Parameter in case a parameter is missing its name
    • Method Detail

      • getName

        public String getName()
        Get the parameter name.
        Returns:
        name of the parameter
      • getValue

        public Object getValue()
        Get the parameter value.
        Returns:
        value assigned to the parameter
      • getDescription

        public String getDescription()
        Get the parameter description.
        Returns:
        description of the parameter
      • hasName

        public boolean hasName()
        Check if the parameter has a name.
        Returns:
        true if the name is set.
      • hasValue

        public boolean hasValue()
        Check if the value is set.
        Returns:
        true if the value is set.
      • hasDescription

        public boolean hasDescription()
        Check if the description is set.
        Returns:
        true if the description is set