org.addsimplicity.anicetus.entity
Enum SessionFields
java.lang.Object
java.lang.Enum<SessionFields>
org.addsimplicity.anicetus.entity.SessionFields
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SessionFields>
public enum SessionFields
- extends java.lang.Enum<SessionFields>
The SessionFields enumeration provides the names for the properties added by
the session artifact.
- Author:
- Dan Pritchett (driveawedge@yahoo.com)
- See Also:
TelemetrySession
|
Enum Constant Summary |
OperationName
The name of the operation associated with the session. |
|
Method Summary |
static SessionFields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SessionFields[] |
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 |
OperationName
public static final SessionFields OperationName
- The name of the operation associated with the session.
values
public static final SessionFields[] 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(SessionFields c : SessionFields.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SessionFields 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
Copyright © 2009 Add Simplicity. All Rights Reserved.