ix.ispace.event
Class ContactEvent
java.lang.Object
java.util.EventObject
ix.ispace.event.ContactEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ContactEvent
- extends java.util.EventObject
A change in what we know about another agent.
Exactly one of the following should return true:
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
oldData
protected AgentData oldData
newData
protected AgentData newData
ContactEvent
public ContactEvent(ContactManager source,
AgentData oldData,
AgentData newData)
getOldData
public AgentData getOldData()
getNewData
public AgentData getNewData()
isNewContact
public boolean isNewContact()
isDeletion
public boolean isDeletion()
isRelationshipChange
public boolean isRelationshipChange()
isCapabilityChange
public boolean isCapabilityChange()
isNewCapability
public boolean isNewCapability(Capability c)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject