|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--elge.engine.pools.ClassTemplate
This class should hold a setting for a class - some sort of template. That mean you can make preseted instance acording to this template :). In other worlds, the ClassPool stores also some instances but known as templates, not as a regular objects in the system. The template has info abou the xml config file :|
Field Summary | |
protected String |
name
Name of the template |
protected ClassLoadInfo |
parent
|
protected Object |
template
The template |
Constructor Summary | |
ClassTemplate()
Creates a new instance of ClassTemplate |
|
ClassTemplate(ClassLoadInfo parent,
String name,
Object tmpObject)
Creates a new instance of ClassTemplate |
|
ClassTemplate(String name)
Creates a new instance of ClassTemplate |
|
ClassTemplate(String name,
Object tmpObject)
Creates a new instance of ClassTemplate |
Method Summary | |
Object |
createInstance()
Mal by spravit vlastne kopiu objektu, ktory predstavuje ten template. |
ClassLoadInfo |
getClassLoadInfo()
|
Object |
getCol(int i)
|
String |
getName()
|
Object |
getTemplate()
|
Class |
getTmpClass()
|
void |
setName(String tmpName)
|
void |
setTemplate(Object tmpObject)
|
void |
setTmpClass(Class tmpClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ClassLoadInfo parent
protected String name
protected Object template
Constructor Detail |
public ClassTemplate()
public ClassTemplate(String name)
public ClassTemplate(String name, Object tmpObject)
public ClassTemplate(ClassLoadInfo parent, String name, Object tmpObject)
Method Detail |
public ClassLoadInfo getClassLoadInfo()
public Class getTmpClass()
public void setTmpClass(Class tmpClass)
public String getName()
public void setName(String tmpName)
public Object getTemplate()
public void setTemplate(Object tmpObject)
public Object getCol(int i)
public Object createInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |