Package mocka.generator.orm
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAssociationSize(Integer associationSize) voidsetLocation(String location) voidsetOrmType(List<ORMType> ormType)
-
Constructor Details
-
ORMProperties
public ORMProperties()
-
-
Method Details
-
setOrmType
-
getOrmType
-
getAssociationSize
-
setAssociationSize
-
getLocation
-
setLocation
-