|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodesteditor.core.model.Model
modesteditor.core.model.Process
public class Process
Model of a MoDeST process.
Field Summary | |
---|---|
protected java.util.List<ModestAction> |
actions
|
protected java.util.List<Model> |
childModels
|
protected java.util.List<ModestException> |
exceptions
|
protected java.util.List<Process> |
processes
|
protected java.util.List<ModestType> |
structs
|
protected java.util.List<ModestVariable> |
variables
|
Fields inherited from class modesteditor.core.model.Model |
---|
column, length, line, name, parent |
Constructor Summary | |
---|---|
Process()
|
|
Process(java.lang.String name,
int line,
int column)
|
Method Summary | |
---|---|
void |
accept(IModelVisitor visitor,
java.lang.Object passAlongArgument)
|
void |
add(Model toAdd)
|
protected void |
addAction(ModestAction act)
Add a child action to the list of children |
void |
addActions(java.util.List acts)
Add a list of child actions to the list of children |
protected void |
addChild(Model model)
Add a child model to the list of children |
void |
addExceptions(java.util.List excs)
Add a list of child exceptions to the list of children |
void |
addModels(java.util.List models)
Add a list of models to the list of children |
protected void |
addModestException(ModestException exc)
Add a child exception to the list of children |
protected void |
addProcess(Process proc)
Add a child process to the list of children |
void |
addProcesses(java.util.List procs)
Add a list of child processes to the list of children |
protected void |
addType(ModestType struc)
Add a child type definition to the list of children |
void |
addTypes(java.util.List strucs)
Add a list of child type definitions to the list of children |
protected void |
addVariable(ModestVariable var)
Add a child variable to the list of children |
void |
addVariables(java.util.List vars)
Add a list of child variables to the list of children |
java.util.List |
getActions()
Returns the child actions |
java.util.List |
getChildren()
Returns a list of the child models |
java.util.List |
getExceptions()
Returns the child exceptions |
java.util.List |
getProcesses()
Returns the child processes |
java.util.List |
getTypes()
Returns the child type definitions |
java.util.List |
getVariables()
Returns the child variables |
void |
remove(Model toRemove)
|
protected void |
removeAction(ModestAction act)
|
protected void |
removeChild(Model model)
|
protected void |
removeModestException(ModestException exc)
|
protected void |
removeProcess(Process proc)
|
protected void |
removeType(ModestType struc)
|
protected void |
removeVariable(ModestVariable var)
|
int |
size()
Answer the total number of items the receiver contains. |
Methods inherited from class modesteditor.core.model.Model |
---|
getColumn, getLength, getLine, getName, getParent, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Process> processes
protected java.util.List<ModestAction> actions
protected java.util.List<ModestException> exceptions
protected java.util.List<ModestVariable> variables
protected java.util.List<ModestType> structs
protected java.util.List<Model> childModels
Constructor Detail |
---|
public Process()
public Process(java.lang.String name, int line, int column)
Method Detail |
---|
public java.util.List getProcesses()
public java.util.List getTypes()
public java.util.List getActions()
public java.util.List getExceptions()
public java.util.List getVariables()
public java.util.List getChildren()
protected void addProcess(Process proc)
proc
- protected void addAction(ModestAction act)
act
- protected void addType(ModestType struc)
struc
- protected void addModestException(ModestException exc)
exc
- protected void addVariable(ModestVariable var)
var
- protected void addChild(Model model)
model
- public void remove(Model toRemove)
protected void removeProcess(Process proc)
protected void removeAction(ModestAction act)
protected void removeModestException(ModestException exc)
protected void removeVariable(ModestVariable var)
protected void removeType(ModestType struc)
protected void removeChild(Model model)
public void add(Model toAdd)
public int size()
public void accept(IModelVisitor visitor, java.lang.Object passAlongArgument)
accept
in class Model
public void addActions(java.util.List acts)
acts
- public void addExceptions(java.util.List excs)
excs
- public void addProcesses(java.util.List procs)
procs
- public void addTypes(java.util.List strucs)
strucs
- public void addVariables(java.util.List vars)
vars
- public void addModels(java.util.List models)
models
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |