KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > pentaho > repository > IHibernatedObjectExtensionList


1 /*
2  * Copyright 2006 Pentaho Corporation. All rights reserved.
3  * This software was developed by Pentaho Corporation and is provided under the terms
4  * of the Mozilla Public License, Version 1.1, or any later version. You may not use
5  * this file except in compliance with the license. If you need a copy of the license,
6  * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
7  * BI Platform. The Initial Developer is Pentaho Corporation.
8  *
9  * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11  * the license for the specific language governing your rights and limitations.
12  *
13  * Created Nov 7, 2005
14  * @author mbatchel
15  */

16 package org.pentaho.repository;
17
18 import java.util.List JavaDoc;
19 import java.util.Map JavaDoc;
20
21 /**
22  * Describes where to find hibernated object XML definitions (.hbm.xml) and the
23  * class versions of the hibernated objects. This lets us discover changes to an
24  * objects' definition which will trigger a schema update call.
25  * @author mbatchel
26  *
27  */

28 public interface IHibernatedObjectExtensionList {
29     /**
30      * Returns a list of fully qualified class name hbm.xml files
31      * for this extension.
32      *
33      * @return list of .hbm.xml files
34      * @see StdHibernateClassHandler
35      */

36     public List JavaDoc getHibernatedObjectResourceList();
37
38     /**
39      * Provides a map of an object class name (not fully qualified) to the
40      * class version number. This allows the DefinitionVersionManager to
41      * detect changes in a class version which should trigger a schema update call.
42      * @return Map of classes to versions
43      */

44     public Map JavaDoc getHibernatedObjectVersionMap();
45 }
46
Popular Tags