public abstract class EntryEvent<T extends DSet.Entry> extends NamedEvent
Streamable.Closure| Constructor and Description |
|---|
EntryEvent(int targetOid,
String name)
Constructs a new event for the specified target object with the supplied attribute name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getEntry()
Return the new or updated entry, or
null if the entry was removed. |
abstract Comparable<?> |
getKey()
Return the key that identifies the entry related to this event.
|
abstract T |
getOldEntry()
Return the old entry, or
null if the entry is newly added. |
getNamealreadyApplied, applyToObject, getActualTransport, getSourceOid, getTargetOid, getTransport, isPrivate, noteActualTransport, setSourceOid, setTargetOid, setTransport, toStringpublic EntryEvent(int targetOid,
String name)
targetOid - the object id of the object in question.name - the name associated with this event.public abstract Comparable<?> getKey()
null.public abstract T getEntry()
null if the entry was removed.public abstract T getOldEntry()
null if the entry is newly added.Copyright © 2015. All rights reserved.