Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`protected static FlatProjectView` | `instance`

Constructor Summary
`FlatProjectView()`

Method Summary
`List<ProjectPath>` | `flattenProjectTree(Object rootNode)` Returns flat tree view.
`static FlatProjectView` | `getInstance()` Returns a FlatProjectView singleton.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### instance

    protected static FlatProjectView instance

Constructor Detail

### FlatProjectView

    public FlatProjectView()

Method Detail

### getInstance

    public static FlatProjectView getInstance()

  Returns a FlatProjectView singleton.

### flattenProjectTree

    public List<ProjectPath> flattenProjectTree(Object rootNode)

  Returns flat tree view.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2009 Apache Cayenne. All Rights Reserved.