Enum InvalidInputParameterConstant
- java.lang.Object
-
- java.lang.Enum<InvalidInputParameterConstant>
-
- io.mosip.pmp.partnermanagement.constant.InvalidInputParameterConstant
-
- All Implemented Interfaces:
Serializable,Comparable<InvalidInputParameterConstant>
public enum InvalidInputParameterConstant extends Enum<InvalidInputParameterConstant>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIED_INPUT_PARAMETERPOLICY_REQUEST_ALREADY_APPROVEDPOLICY_REQUEST_ALREADY_REJECTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Getter for error code.StringgetErrorMessage()Getter for error message.static InvalidInputParameterConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static InvalidInputParameterConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALIED_INPUT_PARAMETER
public static final InvalidInputParameterConstant INVALIED_INPUT_PARAMETER
-
POLICY_REQUEST_ALREADY_APPROVED
public static final InvalidInputParameterConstant POLICY_REQUEST_ALREADY_APPROVED
-
POLICY_REQUEST_ALREADY_REJECTED
public static final InvalidInputParameterConstant POLICY_REQUEST_ALREADY_REJECTED
-
-
Method Detail
-
values
public static InvalidInputParameterConstant[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InvalidInputParameterConstant c : InvalidInputParameterConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvalidInputParameterConstant valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getErrorCode
public String getErrorCode()
Getter for error code.- Returns:
- the error code.
-
getErrorMessage
public String getErrorMessage()
Getter for error message.- Returns:
- the error message.
-
-