Class ORMProperties

java.lang.Object
mocka.generator.orm.ORMProperties

@Configuration @ConfigurationProperties(prefix="mocka.orm") public class ORMProperties extends Object
Configuration properties for ORM-related settings.

These properties are bound from the application configuration file with the prefix jodag.orm.

Configuration Example (application.yaml):

 mocka:
   orm:
     orm-type: [HIBERNATE, MYBATIS]  # List of ORM types to use
     association-size: 10             # Size of collection instances to generate
 
  • Constructor Details

    • ORMProperties

      public ORMProperties()
  • Method Details

    • setOrmType

      public void setOrmType(List<ORMType> ormType)
    • getOrmType

      public List<ORMType> getOrmType()
    • getAssociationSize

      public Integer getAssociationSize()
    • setAssociationSize

      public void setAssociationSize(Integer associationSize)
    • getLocation

      public String getLocation()
    • setLocation

      public void setLocation(String location)