1
|
/*
|
2
|
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
|
3
|
$Id$
|
4
|
*/
|
5
|
|
6
|
/**
|
7
|
* Generic Model object for models where no specialization is required. This is
|
8
|
* just an instance of a abstract ModelBase.
|
9
|
* @constructor
|
10
|
* @base ModelBase
|
11
|
* @author Mike Adair
|
12
|
* @param modelNode The model's XML object node from the configuration document
|
13
|
* @param parent Parent of this model, set to null if there is no parent.
|
14
|
*/
|
15
|
function Model(modelNode, parent) {
|
16
|
// Inherit the ModelBase functions and parameters
|
17
|
ModelBase.apply(this, new Array(modelNode, parent));
|
18
|
|
19
|
}
|