Modifier and Type | Field and Description |
---|---|
static EntityType |
TYPE
The entity type.
|
Constructor and Description |
---|
CfgModel()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Entity entity)
Adds the specified entity.
|
void |
addModule(Module module)
Adds the specified module to the model.
|
void |
addModules(java.util.Collection<Module> modules)
Adds modules collection.
|
java.util.Collection<Module> |
getModules()
Returns internal modules.
|
equals, getEntityType, hashCode, toString
public static final EntityType TYPE
public void add(Entity entity)
Able to add entity of the CfgModel
type.
public java.util.Collection<Module> getModules()
public void addModules(java.util.Collection<Module> modules)
modules
- modules collectionjava.lang.IllegalArgumentException
- when argument is null
.public void addModule(Module module)
module
- modulejava.lang.IllegalArgumentException
- when argument is null
.