|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Place
Creates a new JS Place representation.
Defined in Place.js
| Constructor Summary | |
Place
(javaObject)
|
|
| Method Summary | |
function
|
equals(otherPlace)
Returns true, if this place equals the provided place. |
function
|
getCapacity()
Returns this place's capacity. |
function
|
getID()
Returns this place's id. |
function
|
getInitialMarking()
Returns the initial marking of this place. |
function
|
getName()
Returns the name of this place. |
function
|
getQueue()
Returns the queue type. |
function
|
getTokentype()
Returns the allowed tokentype of this place. |
function
|
getWatch()
Returns the watch expression of this place. |
function
|
setCapacity(capacity)
Sets the capacity of this place. |
function
|
setInitialMarking(initialMarking)
Sets the initial marking of this place. |
function
|
setName(name)
Sets the name of this place object. |
function
|
setQueue(queue)
Sets the queue of this place. |
function
|
setTokentype(tokentype)
Sets the Tokentype of this Place. |
function
|
setWatch(watch)
Sets the watch of this place. |
<static> function
|
add(net, name, tokentype, capacity, queue, watch, initialMarking)
Adds a new place to the specified net with the given values. |
<static> function
|
withName(net, name)
Tries to find the place with the name in the given net. |
| Constructor Detail |
function Place(javaObject)
javaObject - The java object to encapsulate.
| Method Detail |
function equals(otherPlace)
otherPlace - The other place to use in this equals() operation
function getCapacity()
function getID()
function getInitialMarking()
function getName()
function getQueue()
function getTokentype()
function getWatch()
function setCapacity(capacity)
capacity - The new capacity value.
function setInitialMarking(initialMarking)
initialMarking - The new initial marking.
function setName(name)
name - The new name for this place.
function setQueue(queue)
queue - The new queue value.
function setTokentype(tokentype)
tokentype - The name of the tokentype to set.
function setWatch(watch)
watch - The new watch value.
<static> function add(net, name, tokentype, capacity, queue, watch, initialMarking)
net - The net to add this place to.
name - The name of the place to add.
tokentype - The allowed type of this place.
capacity - The maximum capacity of this place.
queue - The queue type.
watch - The watch string
initialMarking - The initial marking of the place.
<static> function withName(net, name)
net - The net to search the place in.
name - The name of the place to search.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||