de.fho.jump.pirol.utilities.debugOutput
Enum DebugUserIds
java.lang.Object
java.lang.Enum<DebugUserIds>
de.fho.jump.pirol.utilities.debugOutput.DebugUserIds
- All Implemented Interfaces:
- DebugId, java.io.Serializable, java.lang.Comparable<DebugUserIds>
public enum DebugUserIds
- extends java.lang.Enum<DebugUserIds>
- implements DebugId
Contains constants for "registered" logging user ids
- Version:
- $Rev: 856 $
- Author:
- Ole Rahn
FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
- See Also:
PersonalLogger
|
Field Summary |
protected java.lang.String |
userName
|
|
Method Summary |
java.lang.String |
getUserName()
|
static DebugUserIds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DebugUserIds[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
STEFAN
public static final DebugUserIds STEFAN
CARSTEN
public static final DebugUserIds CARSTEN
OLE
public static final DebugUserIds OLE
MICHAEL
public static final DebugUserIds MICHAEL
HAYO
public static final DebugUserIds HAYO
ALL
public static final DebugUserIds ALL
userName
protected java.lang.String userName
values
public static final DebugUserIds[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(DebugUserIds c : DebugUserIds.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static DebugUserIds 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
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName in interface DebugId