Package com.uppaal.model
Class AbstractSystem
java.lang.Object
com.uppaal.model.AbstractSystem
- Direct Known Subclasses:
UppaalLscSystem
,UppaalSystem
public abstract class AbstractSystem extends Object
The abstract system class
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractSystem()
ConstructorAbstractSystem(Document aDocument)
Constructor -
Method Summary
Modifier and Type Method Description abstract void
addProcess(String processName, String templateName, Translator map)
Add process dataString
getClockName(int i)
Get clock nameArrayList<String>
getClockNames()
Get all clock nameDocument
getDocument()
Get the documentint
getNoOfClocks()
Get the number of the clocksint
getNoOfVariables()
Get the number of the variablesString
getVariableName(int i)
Get the variable nameArrayList<String>
getVariables()
Get the global variablesvoid
setClocks(ArrayList<String> value)
Set clocksvoid
setVariables(ArrayList<String> value)
Set the variables
-
Field Details
-
Constructor Details
-
AbstractSystem
public AbstractSystem()Constructor -
AbstractSystem
Constructor- Parameters:
aDocument
- - The system document
-
-
Method Details
-
addProcess
Add process data- Parameters:
processName
- - The process nametemplateName
- - The template namemap
- - The translator
-
setVariables
Set the variables- Parameters:
value
- - The value list
-
setClocks
Set clocks- Parameters:
value
- - The clock value list
-
getNoOfVariables
public int getNoOfVariables()Get the number of the variables- Returns:
- The size of the variable list
-
getVariableName
Get the variable name- Parameters:
i
- - The variable index- Returns:
- The variable name
-
getNoOfClocks
public int getNoOfClocks()Get the number of the clocks- Returns:
- The number of clocks
-
getClockName
Get clock name- Parameters:
i
- - The index- Returns:
- The clock name
-
getClockNames
Get all clock name- Returns:
- The clock name list
-
getVariables
Get the global variables- Returns:
- - The array list of the variable
-
getDocument
Get the document- Returns:
- The document
-