Package de.xima.fc.mdl.enums
Enum EBenutzerTyp
- java.lang.Object
-
- java.lang.Enum<EBenutzerTyp>
-
- de.xima.fc.mdl.enums.EBenutzerTyp
-
- All Implemented Interfaces:
Serializable
,Comparable<EBenutzerTyp>
public enum EBenutzerTyp extends Enum<EBenutzerTyp>
An enumeration of the different user types.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERN
A single external user.INTERN
An internal or system user that is managed directly by the FORMCYCLE system.LDAP
A single LDAP user that is linked to a particular LDAP account.LDAP_GROUP
A user who is part of a LDAP user group.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getRef(Benutzer ben)
static EBenutzerTyp
valueOf(String name)
Returns the enum constant of this type with the specified name.static EBenutzerTyp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERN
public static final EBenutzerTyp INTERN
An internal or system user that is managed directly by the FORMCYCLE system.
-
LDAP
public static final EBenutzerTyp LDAP
A single LDAP user that is linked to a particular LDAP account.
-
EXTERN
public static final EBenutzerTyp EXTERN
A single external user.
-
LDAP_GROUP
public static final EBenutzerTyp LDAP_GROUP
A user who is part of a LDAP user group.
-
-
Method Detail
-
values
public static EBenutzerTyp[] 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 (EBenutzerTyp c : EBenutzerTyp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EBenutzerTyp 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
-
-