public abstract class AbstractSystem extends Object
Modifier and Type | Field and Description |
---|---|
protected ArrayList<String> |
clocks |
protected Document |
document |
protected ArrayList<String> |
variables |
Constructor and Description |
---|
AbstractSystem()
Constructor
|
AbstractSystem(Document aDocument)
Constructor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
addProcess(String processName,
String templateName,
Translator map)
Add process data
|
String |
getClockName(int i)
Get clock name
|
ArrayList<String> |
getClockNames()
Get all clock name
|
Document |
getDocument()
Get the document
|
int |
getNoOfClocks()
Get the number of the clocks
|
int |
getNoOfVariables()
Get the number of the variables
|
String |
getVariableName(int i)
Get the variable name
|
ArrayList<String> |
getVariables()
Get the global variables
|
void |
setClocks(ArrayList<String> value)
Set clocks
|
void |
setVariables(ArrayList<String> value)
Set the variables
|
protected Document document
public AbstractSystem()
public AbstractSystem(Document aDocument)
aDocument
- - The system documentpublic abstract void addProcess(String processName, String templateName, Translator map)
processName
- - The process nametemplateName
- - The template namemap
- - The translatorpublic void setVariables(ArrayList<String> value)
value
- - The value listpublic void setClocks(ArrayList<String> value)
value
- - The clock value listpublic int getNoOfVariables()
public String getVariableName(int i)
i
- - The variable indexpublic int getNoOfClocks()
public String getClockName(int i)
i
- - The indexpublic ArrayList<String> getClockNames()
public ArrayList<String> getVariables()
public Document getDocument()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.