Class EntityFinder

java.lang.Object
com.majorana.maj_orm.ORM_ACCESS.EntityFinder

public class EntityFinder extends Object
  • Constructor Details

    • EntityFinder

      public EntityFinder()
    • EntityFinder

      public EntityFinder(Class entityClass, Class entityPackageVersion, String packagePrefix)
  • Method Details

    • setAllowedVersions

      public void setAllowedVersions(int major, int minor)
    • getClassForName

      public Class getClassForName(String name)
    • getNameForClass

      public String getNameForClass(Class name)
    • getEntities

      public Set<BaseMajoranaEntity> getEntities(String packagePrefix)
    • getValidEntities

      public List<org.apache.commons.lang3.tuple.Pair<String,Class>> getValidEntities()
    • populateEntity

      public void populateEntity(boolean checkPackageForEntityVersion)
    • getPackages

      public List<String> getPackages()
    • getEntitiesForPackagePrefix

      public Set<Class> getEntitiesForPackagePrefix(String pack)
    • getEntitiesForPackage

      public Set<Class> getEntitiesForPackage(String pack)
    • getAnnotatedEntitiesForPackage

      public List<org.apache.commons.lang3.tuple.Pair<Class,String>> getAnnotatedEntitiesForPackage(String pack)
    • packageVersion

      public org.apache.commons.lang3.tuple.Pair<Integer,Integer> packageVersion(String pack)