vanted.petrinetelements
Class AbstractToken

java.lang.Object
  extended by vanted.petrinetelements.AbstractToken
Direct Known Subclasses:
TokenContinuous, TokenDiscrete, TokenObject

public abstract class AbstractToken
extends java.lang.Object

The Class AbstractToken is the abstract class for token handling.

Author:
Kevin Pucknat

Constructor Summary
AbstractToken(java.lang.Object value)
          Instantiates a new abstract token.
 
Method Summary
 java.lang.Object getValue()
          Gets the value.
 void setValue(java.lang.Object value)
          Sets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractToken

public AbstractToken(java.lang.Object value)
Instantiates a new abstract token.

Parameters:
value - the value
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setValue

public void setValue(java.lang.Object value)
Sets the value.

Parameters:
value - the new value

getValue

public java.lang.Object getValue()
Gets the value.

Returns:
the value