Class PdoProfile


  • public class PdoProfile
    extends Profile
    Profile for PDOs.
    • Constructor Detail

      • PdoProfile

        public PdoProfile()
    • 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: 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