net.xoetrope.optional.data.pojo
Interface XPojoRoot

All Known Implementing Classes:
XPojoContext, XPojoHibernateContext

public interface XPojoRoot

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) Xoetrope Ltd., 2001-2006
License: see license.txt


Method Summary
 void configure(java.net.URL configFileURL)
          Configure the root and therefore the context for the POJO hierarchy
 void setProject(XProject project)
          Set the current project.
 

Method Detail

setProject

void setProject(XProject project)
Set the current project.

Parameters:
project - the owning project

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