org.example.azapi.constants
Enum AzDataTypeIdIpAddress

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

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


Enum Constant Summary
AZ_DATATYPE_ID_IPADDRESS
          XACML DataType: urn:oasis:names:tc:xacml:2.0:data-type:ipAddress.
 
Method Summary
 java.lang.String toString()
           
static AzDataTypeIdIpAddress valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AzDataTypeIdIpAddress[] 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_IPADDRESS

public static final AzDataTypeIdIpAddress AZ_DATATYPE_ID_IPADDRESS
XACML DataType: urn:oasis:names:tc:xacml:2.0:data-type:ipAddress.
The “urn:oasis:names:tc:xacml:2.0:data-type:ipAddress” primitive type represents an IPv4 or IPv6 network address, with optional mask and optional port or port range. The syntax SHALL be:
     ipAddress = address [ "/" mask ] [ ":" [ portrange ] ]
 
For an IPv4 address, the address and mask are formatted in accordance with the syntax for a "host" in IETF RFC 2396 "Uniform Resource Identifiers (URI): Generic Syntax", section 3.2.

For an IPv6 address, the address and mask are formatted in accordance with the syntax for an "ipv6reference" in IETF RFC 2732 "Format for Literal IPv6 Addresses in URL's". (Note that an IPv6 address or mask, in this syntax, is enclosed in literal "[" "]" brackets.)

Method Detail

values

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

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

valueOf

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