public abstract class AbstractGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractGenerator.ColumnMetadata |
(package private) static class |
AbstractGenerator.Concept |
(package private) static class |
AbstractGenerator.DialectSelector |
static interface |
AbstractGenerator.Meta |
(package private) static class |
AbstractGenerator.Profile |
static class |
AbstractGenerator.TableMetadata |
| Constructor and Description |
|---|
AbstractGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConceptDirectories(AbstractGenerator.Concept concept,
AbstractGenerator.Profile profile,
org.hibernate.cfg.Configuration configuration,
org.hibernate.boot.MetadataSources metadataSources) |
protected org.hibernate.dialect.Dialect |
getDialect(AbstractGenerator.DialectSelector selection,
boolean comments) |
protected static File |
getDirectory(String path) |
protected Collection<String> |
getProfileDirectories(String p,
AbstractGenerator.Profile profile) |
static void |
printToScreen(String lineToPrint) |
protected int |
readSelectionFromStdIo() |
protected int |
readSelectionFromStdIoWithDefault(int defaultValue) |
protected void |
setDirectoriesForModelSelection(AbstractGenerator.Concept concept,
AbstractGenerator.Profile profile,
org.hibernate.cfg.Configuration configuration,
org.hibernate.boot.MetadataSources metadataSources) |
protected org.hibernate.dialect.Dialect getDialect(AbstractGenerator.DialectSelector selection, boolean comments) throws Exception
Exceptionprotected void setDirectoriesForModelSelection(AbstractGenerator.Concept concept, AbstractGenerator.Profile profile, org.hibernate.cfg.Configuration configuration, org.hibernate.boot.MetadataSources metadataSources) throws Exception
Exceptionprotected void addConceptDirectories(AbstractGenerator.Concept concept, AbstractGenerator.Profile profile, org.hibernate.cfg.Configuration configuration, org.hibernate.boot.MetadataSources metadataSources) throws Exception
Exceptionprotected Collection<String> getProfileDirectories(String p, AbstractGenerator.Profile profile)
protected static File getDirectory(String path) throws URISyntaxException
URISyntaxExceptionpublic static void printToScreen(String lineToPrint)
protected int readSelectionFromStdIo()
throws IOException
IOExceptionprotected int readSelectionFromStdIoWithDefault(int defaultValue)
throws IOException
IOExceptionCopyright © 2015–2020 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.