Class PdoProfile
- java.lang.Object
-
- org.tentackle.maven.plugin.wizard.Profile
-
- org.tentackle.maven.plugin.wizard.PdoProfile
-
public class PdoProfile extends Profile
Profile for PDOs.
-
-
Constructor Summary
Constructors Constructor Description PdoProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxClassId()intgetMinClassId()java.lang.StringgetPdoInterface()java.lang.StringgetPdoPackage()PackageInfogetPdoPackageInfo()java.lang.StringgetTablePrefix()voidsetMaxClassId(int maxClassId)Updates the max.voidsetMinClassId(int minClassId)Updates the classid according to the model.voidvalidate(java.util.Map<java.lang.String,PackageInfo> packageInfoMap)Validates the profile.-
Methods inherited from class org.tentackle.maven.plugin.wizard.Profile
equals, getDomainImplementation, getDomainImplPackage, getDomainImplPackageInfo, getDomainInterface, getDomainPackage, getDomainPackageInfo, getName, getPackageInfo, getPersistenceImplementation, getPersistenceImplPackage, getPersistenceImplPackageInfo, getPersistenceInterface, getPersistencePackage, getPersistencePackageInfo, hashCode, toString
-
-
-
-
Method Detail
-
getPdoInterface
public java.lang.String getPdoInterface()
-
getPdoPackage
public java.lang.String getPdoPackage()
-
getMinClassId
public int getMinClassId()
-
getMaxClassId
public int getMaxClassId()
-
getPdoPackageInfo
public PackageInfo getPdoPackageInfo()
-
getTablePrefix
public java.lang.String getTablePrefix()
-
validate
public void validate(java.util.Map<java.lang.String,PackageInfo> packageInfoMap) throws org.apache.maven.plugin.MojoExecutionException
Description copied from class:ProfileValidates the profile.
-
setMinClassId
public void setMinClassId(int minClassId)
Updates the classid according to the model.- Parameters:
minClassId- the next class ID to use
-
setMaxClassId
public void setMaxClassId(int maxClassId)
Updates the max. classid according to the profiles.- Parameters:
maxClassId- the max class id
-
-