org.formaria.data.pojo
Interface PojoRoot

All Known Subinterfaces:
PojoContext
All Known Implementing Classes:
PersistenceController

public interface PojoRoot

An interface for the root POJO in a pojo model. The root is responsible for configuring the context for the pojos and establishing a link to the root pojo in the pojo hierarchy/graph.

The root 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
 void configure(java.net.URL configFileURL)
          Configure the root and therefore the context for the POJO hierarchy
 void init(Project project)
          Initialize the project and set a reference to the project.
 void modelLoaded()
          The pojos are now loaded
 

Method Detail

init

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


configure

void configure(java.net.URL configFileURL)
Configure the root and therefore the context for the POJO hierarchy

Parameters:
configFileURL - the URL of the configuration file

modelLoaded

void modelLoaded()
The pojos are now loaded