Package org.jboss.security.identity
Enum Attribute.TYPE
- java.lang.Object
-
- java.lang.Enum<Attribute.TYPE>
-
- org.jboss.security.identity.Attribute.TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<Attribute.TYPE>
public static enum Attribute.TYPE extends Enum<Attribute.TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTRY
EMAIL_ADDRESS
EMPLOYEE_NUMBER
EMPLOYEE_TYPE
GIVEN_NAME
PO_BOX
POSTAL_ADDRESS
POSTAL_CODE
PREFERRED_LANGUAGE
STREET
SURNAME
TELEPHONE
TITLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get()
static Attribute.TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static Attribute.TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNTRY
public static final Attribute.TYPE COUNTRY
-
EMAIL_ADDRESS
public static final Attribute.TYPE EMAIL_ADDRESS
-
EMPLOYEE_TYPE
public static final Attribute.TYPE EMPLOYEE_TYPE
-
EMPLOYEE_NUMBER
public static final Attribute.TYPE EMPLOYEE_NUMBER
-
GIVEN_NAME
public static final Attribute.TYPE GIVEN_NAME
-
PREFERRED_LANGUAGE
public static final Attribute.TYPE PREFERRED_LANGUAGE
-
PO_BOX
public static final Attribute.TYPE PO_BOX
-
POSTAL_CODE
public static final Attribute.TYPE POSTAL_CODE
-
POSTAL_ADDRESS
public static final Attribute.TYPE POSTAL_ADDRESS
-
SURNAME
public static final Attribute.TYPE SURNAME
-
STREET
public static final Attribute.TYPE STREET
-
TITLE
public static final Attribute.TYPE TITLE
-
TELEPHONE
public static final Attribute.TYPE TELEPHONE
-
-
Method Detail
-
values
public static Attribute.TYPE[] 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 (Attribute.TYPE c : Attribute.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attribute.TYPE 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
-
get
public String get()
-
-