at.davinci.model
Class AbstractModel
java.lang.Object
at.davinci.model.AbstractModel
public abstract class AbstractModel
- extends java.lang.Object
A DaVinci model is a persistent object that lives in a running DaVinci application.
() Each model is initialized calling it's init() method and cleaned up calling cleanUp().
() It can have multiple methods that must not be overloaded with different parameter types.
() There must be only one constructor without any parameters and throws declarations (just
use the init() method for initialization tasks.)
at.davinci.model.Model
- Author:
- alangegger
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModel
public AbstractModel()
setDaVinciSession
public void setDaVinciSession(DaVinciSession sess)
getSession
public DaVinciSession getSession()
init
public abstract void init()
throws ModelInitializationException
- Throws:
ModelInitializationException
cleanUp
public abstract void cleanUp()
throws ModelCleanUpException
- Throws:
ModelCleanUpException
getViewData
public abstract java.lang.Object getViewData(java.lang.String view,
java.lang.String name,
java.lang.Class type)
throws NoDataProvidedException
- Throws:
NoDataProvidedException