public class GenericModule
extends java.lang.Object
AbstractModule
.Modifier and Type | Field and Description |
---|---|
java.lang.Class<? extends AbstractModule> |
moduleClass
Reference to the belonging
AbstractModule . |
java.lang.String |
moduleDescription |
java.lang.String |
moduleName |
Constructor and Description |
---|
GenericModule(java.lang.Class<? extends AbstractModule> moduleClass,
java.lang.String moduleName,
java.lang.String moduleDescription) |
Modifier and Type | Method and Description |
---|---|
AbstractModule |
getInstance()
Get an
AbstractModule instance that was represented by this
generic module. |
java.lang.String |
toString()
Returns the name of the generic module.
|
public java.lang.Class<? extends AbstractModule> moduleClass
AbstractModule
. Call
this.getInstance()
to get an instance of these module class.public java.lang.String moduleName
public java.lang.String moduleDescription
public GenericModule(java.lang.Class<? extends AbstractModule> moduleClass, java.lang.String moduleName, java.lang.String moduleDescription)
public AbstractModule getInstance()
AbstractModule
instance that was represented by this
generic module.public java.lang.String toString()
toString
in class java.lang.Object