|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectora.core.base.ElementManager
public class ElementManager
Container component for holding analysed objects and managing them - the so called objectreferencemodel
Field Summary | |
---|---|
ElementController |
controller
|
Constructor Summary | |
---|---|
ElementManager()
Default constructor |
Method Summary | |
---|---|
java.util.ArrayList |
getAllElements()
returns complete list of elements |
java.util.HashMap |
getClassesList()
Returns hashmap with class to element mapping (1-N) |
java.lang.String |
getManagerName()
|
ReloadableData |
getReloadableData()
Contains data that can be used for reload purpose |
java.util.ArrayList |
getRoots()
Get number of roots |
int |
getState()
|
java.lang.String |
getTimeStamp()
|
boolean |
hasController()
|
void |
load(java.io.File file,
PersistenceConfiguration conf)
By default this method tries first to load the binary data, once this fails it will load data from xml. |
void |
registerElementController(ElementController controller)
|
boolean |
reloadable()
If original source object is available you can reload but not from fileload |
void |
reset()
reset lists and others |
void |
save(java.io.File file,
PersistenceConfiguration conf)
Save Referencemodel to file as per type |
void |
unRegisterElementController(ElementController controller)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public transient ElementController controller
Constructor Detail |
---|
public ElementManager()
Method Detail |
---|
public java.util.ArrayList getRoots()
ElementManagerInterface
getRoots
in interface ElementManagerInterface
public void load(java.io.File file, PersistenceConfiguration conf) throws java.lang.Exception
load
in interface ElementManagerInterface
java.lang.Exception
public void save(java.io.File file, PersistenceConfiguration conf) throws java.lang.Exception
ElementManagerInterface
save
in interface ElementManagerInterface
java.lang.Exception
public java.util.HashMap getClassesList()
ElementManagerInterface
getClassesList
in interface ElementManagerInterface
public java.util.ArrayList getAllElements()
ElementManagerInterface
getAllElements
in interface ElementManagerInterface
public boolean reloadable()
ElementManagerInterface
reloadable
in interface ElementManagerInterface
public void reset()
ElementManagerInterface
reset
in interface ElementManagerInterface
public java.lang.String getManagerName()
getManagerName
in interface ElementManagerInterface
public void registerElementController(ElementController controller) throws java.lang.IllegalAccessException
registerElementController
in interface ElementManagerInterface
java.lang.IllegalAccessException
public void unRegisterElementController(ElementController controller)
unRegisterElementController
in interface ElementManagerInterface
public boolean hasController()
hasController
in interface ElementManagerInterface
public int getState()
getState
in interface ElementManagerInterface
public java.lang.String getTimeStamp()
getTimeStamp
in interface ElementManagerInterface
public ReloadableData getReloadableData()
getReloadableData
in interface ElementManagerInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |