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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getArcs()
The arcs of the netgetId()
The net's idgetName()
The net's nameThe places of the netTransitions of the netint
hashCode()
void
setAdditionalProperty
(String name, Object value) void
The arcs of the netvoid
The net's idvoid
The net's namevoid
The places of the netvoid
setTransitions
(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
-