public class Change extends Object

Public Method Summary

Change
static Change
childAddedChange(ChildKey childKey, Node snapshot)
static Change
childAddedChange(ChildKey childKey, IndexedNode snapshot)
static Change
childChangedChange(ChildKey childKey, Node newSnapshot, Node oldSnapshot)
static Change
childChangedChange(ChildKey childKey, IndexedNode newSnapshot, IndexedNode oldSnapshot)
static Change
childMovedChange(ChildKey childKey, Node snapshot)
static Change
childMovedChange(ChildKey childKey, IndexedNode snapshot)
static Change
childRemovedChange(ChildKey childKey, Node snapshot)
static Change
ChildKey
Event.EventType
IndexedNode
IndexedNode
ChildKey
String
static Change

Inherited Method Summary

Public Methods

public Change changeWithPrevName (ChildKey prevName)

Parameters
prevName

public static Change childAddedChange (ChildKey childKey, Node snapshot)

Parameters
childKey
snapshot

public static Change childAddedChange (ChildKey childKey, IndexedNode snapshot)

Parameters
childKey
snapshot

public static Change childChangedChange (ChildKey childKey, Node newSnapshot, Node oldSnapshot)

Parameters
childKey
newSnapshot
oldSnapshot

public static Change childChangedChange (ChildKey childKey, IndexedNode newSnapshot, IndexedNode oldSnapshot)

Parameters
childKey
newSnapshot
oldSnapshot

public static Change childMovedChange (ChildKey childKey, Node snapshot)

Parameters
childKey
snapshot

public static Change childMovedChange (ChildKey childKey, IndexedNode snapshot)

Parameters
childKey
snapshot

public static Change childRemovedChange (ChildKey childKey, Node snapshot)

Parameters
childKey
snapshot

public static Change childRemovedChange (ChildKey childKey, IndexedNode snapshot)

Parameters
childKey
snapshot

public ChildKey getChildKey ()

public Event.EventType getEventType ()

public IndexedNode getIndexedNode ()

public IndexedNode getOldIndexedNode ()

public ChildKey getPrevName ()

public String toString ()

public static Change valueChange (IndexedNode snapshot)

Parameters
snapshot