Class PetriNetNode
java.lang.Object
org.tweetyproject.logics.petri.syntax.PetriNetNode
- All Implemented Interfaces:
 Node
- Direct Known Subclasses:
 Place,Transition
An abstract class for the two types of nodes in a Petri net, places and transitions
- Author:
 - Benedikt Knopp
 
- 
Constructor Summary
ConstructorsConstructorDescriptionPetriNetNode(String id) Create a new instancePetriNetNode(String id, String name) Create a new instance - 
Method Summary
 
- 
Constructor Details
- 
PetriNetNode
Create a new instance- Parameters:
 id- a unique identifier
 - 
PetriNetNode
Create a new instance- Parameters:
 id- a unique identifiername- a pretty name
 
 - 
 - 
Method Details
- 
getId
- Returns:
 - the id
 
 - 
setId
- Parameters:
 id- the id to set
 - 
getName
- Returns:
 - the name
 
 - 
setName
- Parameters:
 name- the name to set
 
 -