net.sourceforge.hivetranse.transaction.hibernate3
Class HibernateMappingContribution
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
net.sourceforge.hivetranse.transaction.hibernate3.HibernateMappingContribution
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
public class HibernateMappingContribution
- extends org.apache.hivemind.impl.BaseLocatable
Represents a mapping element of a HibernateSettingsSchema
.
Each instance defines a Hibernate mapping file or class of a persistent
object.
- Author:
- Jean-Francois Poilpret
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HibernateMappingContribution
public HibernateMappingContribution()
setMappingFile
public void setMappingFile(org.apache.hivemind.Resource file)
getMappingFile
public org.apache.hivemind.Resource getMappingFile()
setMappingClass
public void setMappingClass(java.lang.Class clazz)
getMappingClass
public java.lang.Class getMappingClass()
setMappingPackage
public void setMappingPackage(java.lang.String mapPackage)
getMappingPackage
public java.lang.String getMappingPackage()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object