org.vrspace.neurogrid
Class Event

java.lang.Object
  extended byorg.vrspace.neurogrid.NGObject
      extended byorg.vrspace.neurogrid.Event

public class Event
extends NGObject

NeuroGrid event.


Field Summary
 EventType eventType
           
 long happened
           
 Node node
           
 boolean shared
           
 int source
           
 UriTriple uriTriple
           
 
Fields inherited from class org.vrspace.neurogrid.NGObject
db, db_id
 
Constructor Summary
Event()
           
Event(Node node, UriTriple triple, EventType type)
          Create a new event
 
Method Summary
static java.util.Set getSubset(UriTriple triple, EventType type)
          Get subset of all events for a specified UriTriple and EventType
 NGObject next()
           
 java.lang.String toString()
          Returns string containing id and name of this record
 
Methods inherited from class org.vrspace.neurogrid.NGObject
deleteStatement, fieldIterator, fieldIterator, fromText, getID, getTable, init, insertStatement, nullify, stringify, stringify, toText, updateStatement, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node

public Node node

uriTriple

public UriTriple uriTriple

eventType

public EventType eventType

source

public int source

happened

public long happened

shared

public boolean shared
Constructor Detail

Event

public Event()

Event

public Event(Node node,
             UriTriple triple,
             EventType type)
Create a new event

Method Detail

getSubset

public static java.util.Set getSubset(UriTriple triple,
                                      EventType type)
Get subset of all events for a specified UriTriple and EventType

See Also:
UriTriple, EventType

toString

public java.lang.String toString()
Description copied from class: NGObject
Returns string containing id and name of this record

Overrides:
toString in class NGObject

next

public NGObject next()
Specified by:
next in class NGObject