agg.attribute.impl
Class TupleEvent
java.lang.Object
agg.attribute.impl.AttrObject
agg.attribute.impl.TupleEvent
- All Implemented Interfaces:
- AttrEvent, java.util.Observer
- Direct Known Subclasses:
- TupleViewEvent
public class TupleEvent
- extends AttrObject
- implements AttrEvent
Fields inherited from interface agg.attribute.AttrEvent |
ATTR_EVENT_MAX_ID, GENERAL_CHANGE, MEMBER_ADDED, MEMBER_DELETED, MEMBER_DISABLED, MEMBER_MARK, MEMBER_MODIFIED, MEMBER_RENAMED, MEMBER_RETYPED, MEMBER_TO_DELETE, MEMBER_VALUE_CORRECTNESS, MEMBER_VALUE_MODIFIED |
Methods inherited from class agg.attribute.impl.AttrObject |
defaultToString, err, err, getInstRepr, log, log, log, logEnteredMethod, logPrintln, logPrintln, stdoutPrintOnEnter, stdoutPrintOnExit, update, warn, warn, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
protected int id
index0
protected int index0
index1
protected int index1
src
protected AttrTuple src
member
protected AttrMember member
TupleEvent
public TupleEvent(AttrTuple attr,
int id,
int index0,
int index1)
TupleEvent
public TupleEvent(AttrTuple attr,
int id,
int index)
cloneWithNewSource
public TupleEvent cloneWithNewSource(AttrTuple tup)
getSource
public AttrTuple getSource()
- Description copied from interface:
AttrEvent
- Getting the originator of the event.
- Specified by:
getSource
in interface AttrEvent
getID
public int getID()
- Description copied from interface:
AttrEvent
- Getting the message id.
- Specified by:
getID
in interface AttrEvent
getIndex
public int getIndex()
- Description copied from interface:
AttrEvent
- Getting the first position index.
- Specified by:
getIndex
in interface AttrEvent
getIndex0
public int getIndex0()
- Description copied from interface:
AttrEvent
- Getting the first position index.
- Specified by:
getIndex0
in interface AttrEvent
getIndex1
public int getIndex1()
- Description copied from interface:
AttrEvent
- Getting the second position index.
- Specified by:
getIndex1
in interface AttrEvent
getAttrMember
public AttrMember getAttrMember()
- Description copied from interface:
AttrEvent
- Getting the changed attribute member of the event.
Returns null when
getIndex0() != getIndex1()
.
- Specified by:
getAttrMember
in interface AttrEvent
toString
public java.lang.String toString()
- Overrides:
toString
in class AttrObject
toLongString
public java.lang.String toLongString()
idToString
protected java.lang.String idToString(int anID)