|
MENull delete (MEOop receiver)
Delete the receiver argument, a Graph MEOop, and all its
representations. Note this also deletes subgraph links to this graph from other
graphs in open projects. It does not delete subgraphs of this graph.
|
|
MENull addToGraph (MEOop receiver, MEOop
addToGraph)
Adds the receiver argument, an Object MEOop, to the second
argument, a Graph MEOop. No type checking is performed.
|
|
MEOop createBinding (MEOop receiver, METype relType, METypeArray roleTypes,
MEOopArray objects)
Creates a new binding into the receiver argument, a Graph
MEOop. The second argument is the METype of the relationship to create. The
third argument is an METypeArray of the types of Roles to create. The final
argument is an MEOopArray of the existing Objects that this binding connects, in
the same order as the third argument. The return value is the newly created
binding MEOop.
|
|
MEOop createBindingWithPorts (MEOop receiver, METype relType, METypeArray
roleTypes, MEAnyArray ports, MEOopArray objects)
Creates a new binding with ports into the receiver argument, a
Graph MEOop. The second argument is the METype of the relationship to create.
The third, fourth and fifth arguments are parallel collections of the same size,
whose Nth member refers to the Nth role, port and object. The third argument is
an METypeArray of the types of Roles to create. The fourth argument is an
MEAnyArray of the existing instance ports (static or dynamic) through which this
binding's roles will connect to their object - each element is an MEAny of an
MEOop for a port, or an MEAny of an MENull for no port. The final argument is an
MEOopArray (NB not an MEAnyArray) of the existing Objects that this binding will
connect. The return value is the newly created binding MEOop.
|
|
boolean removeBinding (MEOop receiver, MEOop removeBinding)
In the receiver argument, a Graph MEOop, remove the second
argument, a Binding MEOop, and any explosions of its relationship or roles, and
return true. If the binding still has Diagram representations, leave the graph
as it is and return false. (To delete the Diagram representations of a Binding,
iterate over the Binding's repSet(), sending remove() to each.)
|
|
MEOop relationship (MEOop receiver)
Returns the relationship MEOop of this binding MEOop
|
|
MEOopArray roles (MEOop receiver)
Returns an MEOopArray of the roles in this binding MEOop in
order
|
|
MEAnyArray portSlots (MEOop receiver)
Returns an MEAnyArray of the ports for each role in this
binding MEOop in order. Each element is an MEAny of an MEOop for a port, or an
MEAny of an MENull if that role does not connect via a port.
|
|
MEOopArray objects (MEOop receiver)
Returns an MEOopArray of the objects in this binding MEOop in
order
|
|
MEAnyArray connectionIds (MEOop receiver)
Returns an MEAnyArray containing the integer ids of the
connections in the receiver argument, a binding MEOop. This is intended
primarily for use with the Diagram binding representation method,
connectionReprIds.
|