Class: AddFamilyEvent

AddFamilyEvent

AddFamilyEvent indicates that a new family relationship has been created between two nodes

Constructor

(protected) new AddFamilyEvent(parent, child)

Parameters:
Name Type Description
parent AbstractNode The parent node in the newly created family relationship (i.e the node that gained a new child)
child AbstractNode The child node in the newly created family relationship (i.e the node that gained a new parent)
Source:

Extends

  • Event

Methods

getChild() → {AbstractNode}

Returns the child node in the newly created family relationship that corresponds to the event.
Source:
Returns:
The child node
Type
AbstractNode

getParent() → {AbstractNode}

Returns the parent node in the newly created family relationship that corresponds to the event.
Source:
Returns:
The parent node
Type
AbstractNode