org.addsimplicity.anicetus.entity
Enum TransactionFields

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

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

TransactionFields provides the names for the distinguished properties added by the transaction telemetry artifact.

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

Enum Constant Summary
Operation
          The operation is the action performed by the transaction.
Parameters
          Parameters are an optional list of values that are associated with the operation.
ResourceId
          The resource identifier is associated with the primary entity being acted upon by the transaction.
 
Method Summary
static TransactionFields valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransactionFields[] 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

Operation

public static final TransactionFields Operation
The operation is the action performed by the transaction. This can be SQL for database transactions or command names for service requests.


Parameters

public static final TransactionFields Parameters
Parameters are an optional list of values that are associated with the operation. For example, SQL prepared statement values can be passed as parameters.


ResourceId

public static final TransactionFields ResourceId
The resource identifier is associated with the primary entity being acted upon by the transaction.

Method Detail

values

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

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

valueOf

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