Class Place

Object
   |
   +--Place

class 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

Place

function Place(javaObject)
Method Detail

equals

function equals(otherPlace)

getCapacity

function getCapacity()

getID

function getID()

getInitialMarking

function getInitialMarking()

getName

function getName()

getQueue

function getQueue()

getTokentype

function getTokentype()

getWatch

function getWatch()

setCapacity

function setCapacity(capacity)

setInitialMarking

function setInitialMarking(initialMarking)

setName

function setName(name)

setQueue

function setQueue(queue)

setTokentype

function setTokentype(tokentype)

setWatch

function setWatch(watch)

add

<static> function add(net, name, tokentype, capacity, queue, watch, initialMarking)

withName

<static> function withName(net, name)