org.addsimplicity.anicetus.entity
Enum GlobalInfoFields

java.lang.Object
  extended by java.lang.Enum<GlobalInfoFields>
      extended by org.addsimplicity.anicetus.entity.GlobalInfoFields
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GlobalInfoFields>

public enum GlobalInfoFields
extends java.lang.Enum<GlobalInfoFields>

The GlobalInfoFields provides the distinguished names for the properties provided by GlobalInfo.

Author:
Dan Pritchett (driveawedge@yahoo.com)
See Also:
GlobalInfo

Enum Constant Summary
EntityId
          A GUID to identify each telemetry artifact.
ExecutionContext
          The process and potentially thread that is executing the code generating telmetry.
Message
          An application specified message associated with this telemetry artifact.
ParentId
          The GUID of the parent that is the parent of the current telemetry artifact.
ReportingNode
          An identifier for the system where the telemetry is being generated.
TimeStamp
          The time this telemetry artifact was created.
 
Method Summary
static GlobalInfoFields valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalInfoFields[] 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
 

Enum Constant Detail

EntityId

public static final GlobalInfoFields EntityId
A GUID to identify each telemetry artifact.


ExecutionContext

public static final GlobalInfoFields ExecutionContext
The process and potentially thread that is executing the code generating telmetry.


Message

public static final GlobalInfoFields Message
An application specified message associated with this telemetry artifact.


ParentId

public static final GlobalInfoFields ParentId
The GUID of the parent that is the parent of the current telemetry artifact.


ReportingNode

public static final GlobalInfoFields ReportingNode
An identifier for the system where the telemetry is being generated. Typically a host name or IP address.


TimeStamp

public static final GlobalInfoFields TimeStamp
The time this telemetry artifact was created. Expressed as milliseconds since January 1, 1970 00:00:00 GMT.

Method Detail

values

public static final GlobalInfoFields[] 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(GlobalInfoFields c : GlobalInfoFields.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GlobalInfoFields 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.