public class CfgModel extends Entity
Modifier and Type | Field and Description |
---|---|
static EntityType |
TYPE |
Constructor and Description |
---|
CfgModel()
The 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.
|
Module |
getModule(java.lang.String moduleName)
Returns sub-module with the specified name.
|
java.util.Collection<Module> |
getModules()
Returns internal modules.
|
equals, getEntityType, hashCode, toString
public static final EntityType TYPE
public void add(Entity entity)
public java.util.Collection<Module> getModules()
public void addModules(java.util.Collection<Module> modules)
modules
- modules collectionjava.lang.NullPointerException
- when argument is null
.public void addModule(Module module)
module
- modulejava.lang.NullPointerException
- when argument is null
.public Module getModule(java.lang.String moduleName)
moduleName
- module namenull
if it does not existjava.lang.NullPointerException
- when argument is null
.