org.example.azapi.constants
Enum AzDataTypeIdX500Name

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

public enum AzDataTypeIdX500Name
extends java.lang.Enum<AzDataTypeIdX500Name>
implements AzDataTypeId


Enum Constant Summary
AZ_DATATYPE_ID_X500NAME
          XACML DataType: urn:oasis:names:tc:xacml:1.0:data-type:x500Name.
 
Method Summary
 java.lang.String toString()
           
static AzDataTypeIdX500Name valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AzDataTypeIdX500Name[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AZ_DATATYPE_ID_X500NAME

public static final AzDataTypeIdX500Name AZ_DATATYPE_ID_X500NAME
XACML DataType: urn:oasis:names:tc:xacml:1.0:data-type:x500Name.
The “urn:oasis:names:tc:xacml:1.0:data-type:x500Name” primitive type represents an ITU-T Rec. X.520 Distinguished Name.
The valid syntax for such a name is described in IETF RFC 2253 "Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names"

For example the general nature of this syntax is described in the constructor for javax.security.auth.x500.X500Principal(String name): Creates an X500Principal from a string representation of an X.500 distinguished name
(ex: "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").
The distinguished name must be specified using the grammar defined in RFC 1779 or RFC 2253 (either format is acceptable).

Method Detail

values

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

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

valueOf

public static AzDataTypeIdX500Name 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<AzDataTypeIdX500Name>