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.map
Interface MappingNamespace

All Known Implementing Classes:
  DataMap, EntityResolver

    public interface MappingNamespace

Defines API of a container of DbEntities, ObjEntities, Procedures, Queries and other mapping objects.

Since:
  1.1
Author:
  Andrus Adamchik

Method Summary
`Collection` | `getDbEntities()` Returns all DbEntities in the namespace.
`DbEntity` | `getDbEntity(String name)` Returns DbEntity for a given name, or null if no such DbEntity is found in the MappingNamespace.
`Embeddable` | `getEmbeddable(String className)` Returns an `Embeddable` matching class name or null if such Embeddable is not mapped.
`EntityListener` | `getEntityListener(String className)` Returns an `EntityListener` matching class name or null if such EntityListener is not mapped.
`Collection` | `getObjEntities()` Returns all ObjEntities in the namespace.
`ObjEntity` | `getObjEntity(String name)` Returns ObjEntity for a given name, or null if no such ObjEntity is found in the MappingNamespace.
`Procedure` | `getProcedure(String name)` Returns Procedure for a given name, or null if no such Procedure is found in the MappingNamespace.
`Collection` | `getProcedures()` Returns all Procedures in the namespace.
`Collection` | `getQueries()` Returns all Queries in the namespace.
`Query` | `getQuery(String name)` Returns Query for a given name, or null if no such Query is found in the MappingNamespace.

Method Detail

### getEmbeddable

    Embeddable getEmbeddable(String className)

  Returns an `Embeddable` matching class name or null if such Embeddable is not mapped.

  Since:
    3.0

### getEntityListener

    EntityListener getEntityListener(String className)

  Returns an `EntityListener` matching class name or null if such EntityListener is not mapped.

  Since:
    3.0

### getDbEntity

    DbEntity getDbEntity(String name)

  Returns DbEntity for a given name, or null if no such DbEntity is found in the MappingNamespace.

### getObjEntity

    ObjEntity getObjEntity(String name)

  Returns ObjEntity for a given name, or null if no such ObjEntity is found in the MappingNamespace.

### getProcedure

    Procedure getProcedure(String name)

  Returns Procedure for a given name, or null if no such Procedure is found in the MappingNamespace.

### getQuery

    Query getQuery(String name)

  Returns Query for a given name, or null if no such Query is found in the MappingNamespace.

### getDbEntities

    Collection getDbEntities()

  Returns all DbEntities in the namespace.

### getObjEntities

    Collection getObjEntities()

  Returns all ObjEntities in the namespace.

### getProcedures

    Collection getProcedures()

  Returns all Procedures in the namespace.

### getQueries

    Collection getQueries()

  Returns all Queries in the namespace.

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-2007 Apache Cayenne. All Rights Reserved.