|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.beans.petrinet.AblePetriArc
This class represents an arc from a Place to Transition or from a Transition to a Place in a Petri net
| Field Summary | |
|---|---|
protected AbleBufferConnection |
myBufferConnection
|
protected AbleExpression |
myExpression
|
protected boolean |
myInhibitorFlag
|
protected int |
myMultiplicity
|
protected AblePetriNode |
mySource
|
protected boolean |
mySourceIsPlace
|
protected AblePetriNode |
myTarget
|
| Constructor Summary | |
|---|---|
AblePetriArc()
Create an Arc between nodes (Places and Transitions) in a Petri net |
|
AblePetriArc(AbleExpression theExpression)
Create an Arc between nodes (Places and Transitions) in a Petri net |
|
AblePetriArc(AblePetriPlace theSource,
AblePetriTransition theTarget)
|
|
AblePetriArc(AblePetriTransition theSource,
AblePetriPlace theTarget)
|
|
| Method Summary | |
|---|---|
void |
addTokens(java.util.Vector theTokens)
Add N tokens to the output place. |
int |
getMultiplicity()
|
AblePetriNode |
getSource()
|
AblePetriNode |
getTarget()
|
boolean |
isEnabled()
|
boolean |
isInhibitory()
|
java.util.Vector |
removeTokens()
|
void |
setBufferConnection(AbleBufferConnection theConnection)
Associate this arc with an AbleBufferConnection object. |
void |
setInhibitory(boolean theFlag)
|
void |
setMultiplicity(int theCount)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected AbleExpression myExpression
protected AblePetriNode mySource
protected AblePetriNode myTarget
protected boolean myInhibitorFlag
protected boolean mySourceIsPlace
protected int myMultiplicity
protected AbleBufferConnection myBufferConnection
| Constructor Detail |
public AblePetriArc()
public AblePetriArc(AbleExpression theExpression)
public AblePetriArc(AblePetriPlace theSource,
AblePetriTransition theTarget)
theSource - theTarget -
public AblePetriArc(AblePetriTransition theSource,
AblePetriPlace theTarget)
theSource - theTarget - | Method Detail |
public void setInhibitory(boolean theFlag)
theFlag - public boolean isInhibitory()
public AblePetriNode getSource()
public AblePetriNode getTarget()
public void setMultiplicity(int theCount)
public int getMultiplicity()
public boolean isEnabled()
public java.util.Vector removeTokens()
public void addTokens(java.util.Vector theTokens)
theTokens - public java.lang.String toString()
public void setBufferConnection(AbleBufferConnection theConnection)
theConnection -
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||