org.formaria.data.pojo
Interface PojoContext

All Superinterfaces:
PojoRoot
All Known Implementing Classes:
PersistenceController

public interface PojoContext
extends PojoRoot

An interface for the POJO's setup and operating context.

The context object need not implement this interface, but if it does then the methods declared by the interface will be invoked

Copyright (c) Formaria Ltd., 2008
License: see license.txt


Method Summary
 java.lang.Object getRoot()
          Return the root element in the pojo hierarchy or null if there is no single root, or if the XML configuration defines the root object
 void init(Project proj)
          Initialize the project and set a reference to the project.
 
Methods inherited from interface org.formaria.data.pojo.PojoRoot
configure, modelLoaded
 

Method Detail

getRoot

java.lang.Object getRoot()
Return the root element in the pojo hierarchy or null if there is no single root, or if the XML configuration defines the root object


init

void init(Project proj)
Initialize the project and set a reference to the project. This method is part of the POJO model's initialization

Specified by:
init in interface PojoRoot