Package org.gcube.idm.common.models
Enum IdmUser.USERS_REPR
- java.lang.Object
-
- java.lang.Enum<IdmUser.USERS_REPR>
-
- org.gcube.idm.common.models.IdmUser.USERS_REPR
-
- All Implemented Interfaces:
Serializable,Comparable<IdmUser.USERS_REPR>
- Enclosing class:
- IdmUser
public static enum IdmUser.USERS_REPR extends Enum<IdmUser.USERS_REPR>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description compactemailfullfullnameidnoneusernameusername_emailusername_user
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdmUser.USERS_REPRvalueOf(String name)Returns the enum constant of this type with the specified name.static IdmUser.USERS_REPR[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
full
public static final IdmUser.USERS_REPR full
-
compact
public static final IdmUser.USERS_REPR compact
-
username
public static final IdmUser.USERS_REPR username
-
email
public static final IdmUser.USERS_REPR email
-
id
public static final IdmUser.USERS_REPR id
-
username_email
public static final IdmUser.USERS_REPR username_email
-
username_user
public static final IdmUser.USERS_REPR username_user
-
fullname
public static final IdmUser.USERS_REPR fullname
-
none
public static final IdmUser.USERS_REPR none
-
-
Method Detail
-
values
public static IdmUser.USERS_REPR[] 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 (IdmUser.USERS_REPR c : IdmUser.USERS_REPR.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdmUser.USERS_REPR 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
-
-