de.cesr.lara.components.model.impl
Class LModel

java.lang.Object
  extended by de.cesr.lara.components.model.impl.LModel

public final class LModel
extends Object

Base class for models using LARA that should ensure that only one instance of LaraModel is created. However, since it should be possible to create subclasses of LAbstractModel it is not possible to ensure that there are no more than one instances of LaraModel.


Field Summary
protected static LaraModel model
          model
 
Method Summary
static LaraModel getModel()
           
static String getVersionInfo()
          Returns a string containing current SVN revision number and data and time of last build.
static LaraModel setNewModel(LaraModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected static LaraModel model
model

Method Detail

getModel

public static LaraModel getModel()
Returns:
model

getVersionInfo

public static String getVersionInfo()
Returns a string containing current SVN revision number and data and time of last build.

Returns:
version information

setNewModel

public static LaraModel setNewModel(LaraModel model)
Parameters:
model -
Returns:
new model