public interface ElementBuilder
Modifier and Type | Method and Description |
---|---|
ElementBuilder |
clone()
Clone the builder.
|
boolean |
contains(Node n)
Check if a given node has been defined for this model.
|
boolean |
contains(VM v)
Check if a given VM has been defined for this model.
|
Node |
newNode()
Generate a new Node for this model.
|
Node |
newNode(int id)
Generate a new node for this model.
|
VM |
newVM()
Generate a new VM.
|
VM |
newVM(int id)
Generate a new VM.
|
VM newVM()
null
if no identifiers are available for the VM.VM newVM(int id)
id
- the identifier to use for that VMnull
if the identifier is already usedNode newNode()
null
if no identifiers are available for the Node.Node newNode(int id)
id
- the identifier to use for that nodenull
if the identifier is already usedboolean contains(VM v)
v
- the VM to checktrue
iff the VM is already definedboolean contains(Node n)
n
- the node to checktrue
iff the VM is bookedElementBuilder clone()
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.