org.example.azapi.constants
Enum AzStatusCode

java.lang.Object
  extended by java.lang.Enum<AzStatusCode>
      extended by org.example.azapi.constants.AzStatusCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AzStatusCode>

public enum AzStatusCode
extends java.lang.Enum<AzStatusCode>


Enum Constant Summary
AZ_MISSING_ATTRIBUTE
          XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:missing-attribute.
AZ_OK
          XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:ok.
AZ_PROCESSING_ERROR
          XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:processing-error.
AZ_SYNTAX_ERROR
          XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:syntax-error.
 
Method Summary
static AzStatusCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AzStatusCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AZ_OK

public static final AzStatusCode AZ_OK
XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:ok. This identifier indicates success.


AZ_MISSING_ATTRIBUTE

public static final AzStatusCode AZ_MISSING_ATTRIBUTE
XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:missing-attribute. This identifier indicates that all the attributes necessary to make a policy decision were not available (see Section 6.16).


AZ_SYNTAX_ERROR

public static final AzStatusCode AZ_SYNTAX_ERROR
XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:syntax-error. This identifier indicates that some attribute value contained a syntax error, such as a letter in a numeric field.


AZ_PROCESSING_ERROR

public static final AzStatusCode AZ_PROCESSING_ERROR
XACML Identifier: urn:oasis:names:tc:xacml:1.0:status:processing-error. This identifier indicates that some attribute value contained a syntax error, such as a letter in a numeric field.

Method Detail

values

public static AzStatusCode[] 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 (AzStatusCode c : AzStatusCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AzStatusCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null