Package is.codion.tools.generator.model
Class DomainGeneratorModel
java.lang.Object
is.codion.tools.generator.model.DomainGeneratorModel
For instances use the factory method
domainGeneratorModel(Database, User)
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyValue<String>
The default package.static final PropertyValue<String>
The default source directory. -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainGeneratorModel
domainGeneratorModel
(Database database, User user) Instantiates a newDomainGeneratorModel
instance.void
populateSelected
(Consumer<String> schemaNotifier) void
void
-
Field Details
-
DEFAULT_DOMAIN_PACKAGE
The default package. -
DEFAULT_SOURCE_DIRECTORY
The default source directory.
-
-
Method Details
-
schemaModel
-
entityModel
-
domainImpl
-
domainApi
-
domainCombined
-
domainPackage
-
sourceDirectory
-
apiSearchValue
-
implSearchValue
-
populateSelected
-
saveApiImpl
- Throws:
IOException
-
saveCombined
- Throws:
IOException
-
saveEnabled
-
domainGeneratorModel
Instantiates a newDomainGeneratorModel
instance.- Parameters:
database
- the database to connect touser
- the user to connect with- Returns:
- a new
DomainGeneratorModel
instance
-