com.xensource.xenapi
Class Event.Record

java.lang.Object
  extended by com.xensource.xenapi.Event.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Event

public static class Event.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a Event


Field Summary
 java.lang.String clazz
          The name of the class of the object that changed
 java.lang.Long id
          An ID, monotonically increasing, and local to the current session
 java.lang.String objUuid
          The uuid of the object that changed
 Types.EventOperation operation
          The operation that was performed
 java.lang.String ref
          A reference to the object that changed
 java.lang.Object snapshot
          The record of the database object that was added, changed or deleted (the actual type will be VM.Record, VBD.Record or similar)
 java.util.Date timestamp
          The time at which the event occurred
 
Constructor Summary
Event.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a event.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public java.lang.Long id
An ID, monotonically increasing, and local to the current session


timestamp

public java.util.Date timestamp
The time at which the event occurred


clazz

public java.lang.String clazz
The name of the class of the object that changed


operation

public Types.EventOperation operation
The operation that was performed


ref

public java.lang.String ref
A reference to the object that changed


objUuid

public java.lang.String objUuid
The uuid of the object that changed


snapshot

public java.lang.Object snapshot
The record of the database object that was added, changed or deleted (the actual type will be VM.Record, VBD.Record or similar)

Constructor Detail

Event.Record

public Event.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a event.Record to a Map

Specified by:
toMap in interface Types.Record