com.sun.sgs.kernel
Enum AccessReporter.AccessType

java.lang.Object
  extended by java.lang.Enum<AccessReporter.AccessType>
      extended by com.sun.sgs.kernel.AccessReporter.AccessType
All Implemented Interfaces:
Serializable, Comparable<AccessReporter.AccessType>
Enclosing interface:
AccessReporter<T>

public static enum AccessReporter.AccessType
extends Enum<AccessReporter.AccessType>

The type of access requested.


Enum Constant Summary
READ
          The object is being accessed, but not modified.
WRITE
          The object is being modified.
 
Method Summary
static AccessReporter.AccessType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AccessReporter.AccessType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

READ

public static final AccessReporter.AccessType READ
The object is being accessed, but not modified.


WRITE

public static final AccessReporter.AccessType WRITE
The object is being modified.

Method Detail

values

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

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

valueOf

public static AccessReporter.AccessType 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 name
NullPointerException - if the argument is null

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved