com.objex.panywhere.events
Class RelationshipConnectionEvent
java.lang.Object
java.util.EventObject
com.objex.panywhere.events.RelationshipConnectionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class RelationshipConnectionEvent
- extends java.util.EventObject
- implements java.io.Serializable
Event generated when two persons are connected in to one another through user actions in the pedigree.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RelationshipConnectionEvent
public RelationshipConnectionEvent(java.lang.Object src,
Individual a_ind1,
Individual a_ind2,
RELATIONSHIP a_type)
- Parameters:
src - a_ind1 - The first individual in the relationship being created or destroyed. If connection, the individual to whim the connection is being madea_ind2 - The 2nd inidvidual in the relationship being created or destroyed.a_type - The relationship type represing the relationship of "a_ind2" to "a_ind2".
getToIndividual
public Individual getToIndividual()
- Returns:
- the toIndividual
getFromIndividual
public Individual getFromIndividual()
- Returns:
- The individual from whom the disconnect was made. This can be any one of the two individuals involved in the relationships being
deleted.
getConnectIndividual
public Individual getConnectIndividual()
- Returns:
- the connectIndividual
getRelType
public RELATIONSHIP getRelType()
- Returns:
- The relationship type being created or deleted