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 Details

    • PdoProfile

      public PdoProfile()
  • Method Details

    • getPdoInterface

      public String getPdoInterface()
    • getPdoPackage

      public String getPdoPackage()
    • getMinClassId

      public int getMinClassId()
    • getMaxClassId

      public int getMaxClassId()
    • getPdoPackageInfo

      public PackageInfo getPdoPackageInfo()
    • getTablePrefix

      public String getTablePrefix()
    • validate

      public void validate(Map<String,PackageInfo> packageInfoMap) throws org.apache.maven.plugin.MojoExecutionException
      Description copied from class: Profile
      Validates the profile.
      Overrides:
      validate in class Profile
      Parameters:
      packageInfoMap - the package infos
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if some package not assigned to a module
    • 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