com.sri.emo.dbobj.model_tree
Class DefaultModelFactory
java.lang.Object
com.sri.emo.dbobj.model_tree.DefaultModelFactory
public class DefaultModelFactory
- extends Object
Factory that builds a tree hierarchy from the Nodes. Included are parts, attributes,
relations, etc. If there is a problem with the Model hierarchy the bug is located
here since this class is responsible for the construction.
- Author:
- Michael Rimov
Method Summary |
Model |
buildModel()
Function that builds the actual model that has been defined in the
constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultModelFactory
public DefaultModelFactory(Node rootNode,
ExpressoResponse response,
int maxNestingLevels)
- Constructs a Default Model Factory.
- Parameters:
rootNode
- Node the base node that we're going create the tree from.response
- ControllerResponse.maxNestingLevels
- int
buildModel
public Model buildModel()
- Function that builds the actual model that has been defined in the
constructor.
- Returns:
- Model the resulting model.
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.