Modifier and Type | Field and Description |
---|---|
static EntityType |
TYPE
The entity type.
|
Constructor and Description |
---|
CfgInterface()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Entity entity)
Adds a given entity to this one.
|
void |
addInterface(java.lang.String moduleName,
CfgSignalInterface signalInterface)
Adds to interface storage the specified module's name and it's signal interface.
|
java.util.Map<java.lang.String,CfgSignalInterface> |
getMapping()
Returns mapping of modules names and their signal interfaces.
|
equals, getEntityType, hashCode, toString
public static final EntityType TYPE
public void addInterface(java.lang.String moduleName, CfgSignalInterface signalInterface)
moduleName
- module namesignalInterface
- signal interfacejava.lang.IllegalArgumentException
- when any of arguments is null
.public java.util.Map<java.lang.String,CfgSignalInterface> getMapping()