org.objectweb.transaction.lib.resource
Class ResourceEventVote

java.lang.Object
  |
  +--org.objectweb.transaction.lib.resource.ResourceEventVote
All Implemented Interfaces:
Event, ResourceEvent

public class ResourceEventVote
extends java.lang.Object
implements ResourceEvent

ResourceEvent for the prepare operation.

Version:
0.1
Author:
Romain Rouvoy

Field Summary
static ResourceEvent event
          Object value of the event Vote.
static int value
          Int value of the event Vote.
 
Fields inherited from interface org.objectweb.transaction.api.resource.ResourceEvent
RESOURCE_EVENT
 
Constructor Summary
ResourceEventVote()
           
 
Method Summary
 int getValue()
          Provides the int value associated to this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public static final int value
Int value of the event Vote.

See Also:
Constant Field Values

event

public static final ResourceEvent event
Object value of the event Vote.

Constructor Detail

ResourceEventVote

public ResourceEventVote()
Method Detail

getValue

public int getValue()
Description copied from interface: Event
Provides the int value associated to this event.

Specified by:
getValue in interface Event
Returns:
the internal value.