KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > cfg > PropertyHolder


1 package org.hibernate.cfg;
2
3 import java.util.Map JavaDoc;
4 import javax.persistence.Column;
5
6 import org.hibernate.mapping.KeyValue;
7 import org.hibernate.mapping.PersistentClass;
8 import org.hibernate.mapping.Property;
9 import org.hibernate.mapping.Table;
10
11 /**
12  * Property holder abstract property containers from their direct implementation
13  *
14  * @author Emmanuel Bernard
15  */

16 public interface PropertyHolder {
17     String JavaDoc getClassName();
18     Table getTable();
19     void addProperty(Property prop);
20     KeyValue getIdentifier();
21     PersistentClass getPersistentClass();
22     boolean isComponent();
23     String JavaDoc getPath();
24     /**
25      * return null if the column is not overridden, or an array of column if true
26      */

27     Column[] getOverriddenColumn(String JavaDoc propertyName);
28     Map JavaDoc<String JavaDoc, Column[]> mergeOverridenColumns(Map JavaDoc<String JavaDoc, Column[]> localColumnOverride);
29
30     String JavaDoc getEntityName();
31 }
32
Popular Tags