net.sf.hibernate4gwt.core.beanlib.mapper
Class DirectoryClassMapper
java.lang.Object
net.sf.hibernate4gwt.core.beanlib.mapper.DirectoryClassMapper
- All Implemented Interfaces:
- IClassMapper
public class DirectoryClassMapper
- extends java.lang.Object
- implements IClassMapper
Class mapper based on package hierarchy (Domain and DTO must have the same name
and placed in identified packages)
- Author:
- bruno.marchesson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryClassMapper
public DirectoryClassMapper()
- Constructor
getRootClonePackage
public java.lang.String getRootClonePackage()
- Returns:
- the _rootClonePackage
setRootClonePackage
public void setRootClonePackage(java.lang.String clonePackage)
- Parameters:
clonePackage
- the _rootClonePackage to set
getRootDomainPackage
public java.lang.String getRootDomainPackage()
- Returns:
- the _rootDomainPackage
setRootDomainPackage
public void setRootDomainPackage(java.lang.String domainPackage)
- Parameters:
domainPackage
- the _rootDomainPackage to set
getCloneSuffix
public java.lang.String getCloneSuffix()
- Returns:
- the cloneSuffix
setCloneSuffix
public void setCloneSuffix(java.lang.String suffix)
- Parameters:
suffix
- the cloneSuffix to set
getTargetClass
public java.lang.Class getTargetClass(java.lang.Class sourceClass)
- Specified by:
getTargetClass
in interface IClassMapper
- Returns:
- the mapped class for the argument class
getSourceClass
public java.lang.Class getSourceClass(java.lang.Class targetClass)
- Specified by:
getSourceClass
in interface IClassMapper
- Returns:
- the mapped class for the argument class