Modifier and Type | Field and Description |
---|---|
static EntityType |
TYPE
The entity type of all
EfsmModel entities. |
Constructor and Description |
---|
EfsmModel()
Creates an empty EFSM model.
|
EfsmModel(java.util.Collection<EfsmModule> efsmModules)
Creates an EFSM model containing the specified EFSM modules.
|
EfsmModel(EfsmModule efsmModule)
Creates an EFSM model containing the specified EFSM module.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Entity entity)
Adds a given entity to this one.
|
void |
addModule(EfsmModule efsmModule)
Adds the specified EFSM module to this EFSM model.
|
void |
addModules(java.util.Collection<EfsmModule> efsmModules)
Adds the specified EFSM modules to this EFSM model.
|
boolean |
equals(java.lang.Object object) |
java.util.List<EfsmModule> |
getModules()
Returns EFSM modules of this EFSM model.
|
int |
hashCode() |
getEntityType, toString
public static final EntityType TYPE
EfsmModel
entities.public EfsmModel()
public EfsmModel(EfsmModule efsmModule)
efsmModule
- the EFSM module to be placed into the EFSM modeljava.lang.IllegalArgumentException
- if efsmModule
is null
public EfsmModel(java.util.Collection<EfsmModule> efsmModules)
efsmModules
- the EFSM modules to be placed into the EFSM modeljava.lang.IllegalArgumentException
- if efsmModules
is null
public void addModule(EfsmModule efsmModule)
efsmModule
- the EFSM module to be addedjava.lang.IllegalArgumentException
- if efsmModule
is null
public void addModules(java.util.Collection<EfsmModule> efsmModules)
efsmModules
- the EFSM modules to be addedjava.lang.IllegalArgumentException
- if efsmModules
is null
public java.util.List<EfsmModule> getModules()
public void add(Entity entity)
Entity