org.apache.cayenne.project
Class FlatProjectView
java.lang.Object
org.apache.cayenne.project.FlatProjectView
public class FlatProjectView
- extends Object
FlatProjectView converts a project tree into a list of nodes,
thus flattening the tree. Normally used as a singleton.
- Author:
- Andrus Adamchik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static FlatProjectView instance
FlatProjectView
public FlatProjectView()
getInstance
public static FlatProjectView getInstance()
- Returns a FlatProjectView singleton.
flattenProjectTree
public List flattenProjectTree(Object rootNode)
- Returns flat tree view.
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.