public class TypeManager
extends java.lang.Object
Constructor and Description |
---|
TypeManager() |
Modifier and Type | Method and Description |
---|---|
AmberType |
create(java.lang.Class cl)
Returns the type.
|
AmberType |
create(java.lang.String name)
Returns the type.
|
AmberType |
get(java.lang.String name)
Returns the type.
|
EntityType |
getEntityByInstanceClass(java.lang.String name)
Returns the type.
|
java.util.HashMap<java.lang.String,AmberType> |
getTypeMap()
Returns the type map.
|
void |
put(java.lang.String name,
AmberType type)
Adds a type.
|
public AmberType create(java.lang.String name) throws ConfigException
ConfigException
public AmberType create(java.lang.Class cl) throws ConfigException
ConfigException
public AmberType get(java.lang.String name)
public EntityType getEntityByInstanceClass(java.lang.String name)
public java.util.HashMap<java.lang.String,AmberType> getTypeMap()
public void put(java.lang.String name, AmberType type)