Overview | Package | Class | 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 java.lang.Object

FlatProjectView converts a project tree into a list of nodes, thus flattening the tree. Normally used as a singleton.

Author:
  Andrei Adamchik

Field Summary
`protected static FlatProjectView` | `instance`

Constructor Summary
`FlatProjectView()`

Method Summary
`java.util.List` | `flattenProjectTree(java.lang.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 java.util.List flattenProjectTree(java.lang.Object rootNode)

  Returns flat tree view.

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

Copyright © 2001-2006 Apache.org All Rights Reserved.