com.edustructures.sifworks
Enum EventAction

java.lang.Object
  extended by java.lang.Enum<EventAction>
      extended by com.edustructures.sifworks.EventAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventAction>

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


Enum Constant Summary
ADD
          Action code indicating the data was added by the event publisher
CHANGE
          Action code indicating the data was changed by the event publisher
DELETE
          Action code indicating the data was deleted by the event publisher
UNDEFINED
          Action code is undefined
 
Method Summary
 byte value()
          Returns an integral value for each EventAction type
static EventAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventAction[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

ADD

public static final EventAction ADD
Action code indicating the data was added by the event publisher


CHANGE

public static final EventAction CHANGE
Action code indicating the data was changed by the event publisher


DELETE

public static final EventAction DELETE
Action code indicating the data was deleted by the event publisher


UNDEFINED

public static final EventAction UNDEFINED
Action code is undefined

Method Detail

values

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

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

valueOf

public static EventAction 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

value

public byte value()
Returns an integral value for each EventAction type

Returns:
ADD = 1, CHANGE = 2, DELETE=3, UNDEFINED=0


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.