Class PetrinetSchema
java.lang.Object
dev.tuplle.petri4j.parser.json.model.PetrinetSchema
Petri Net schema
The Petri Net json schema accepted by Petri4J library.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArcs()The arcs of the netgetId()The net's idgetName()The net's nameThe places of the netTransitions of the netinthashCode()voidsetAdditionalProperty(String name, Object value) voidThe arcs of the netvoidThe net's idvoidThe net's namevoidThe places of the netvoidsetTransitions(List<Transition> transitions) Transitions of the nettoString()
-
Constructor Details
-
PetrinetSchema
public PetrinetSchema()
-
-
Method Details
-
getId
The net's idGenerated id of the Petri net.
-
setId
The net's idGenerated id of the Petri net.
-
getName
The net's nameThe name of the net to better identify the net. (Required)
-
setName
The net's nameThe name of the net to better identify the net. (Required)
-
getTransitions
Transitions of the netA set of transitions of the net. (Required)
-
setTransitions
Transitions of the netA set of transitions of the net. (Required)
-
getPlaces
The places of the netA set of places of the Petri net. (Required)
-
setPlaces
The places of the netA set of places of the Petri net. (Required)
-
getArcs
The arcs of the netA set of arcs of the net. (Required)
-
setArcs
The arcs of the netA set of arcs of the net. (Required)
-
getAdditionalProperties
-
setAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-