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 |
(package private) static class |
AbstractGenerator.Feature |
static interface |
AbstractGenerator.Meta |
(package private) static class |
AbstractGenerator.Profile |
static class |
AbstractGenerator.TableMetadata |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NEW_LINE |
protected static String |
PIPE |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGenerator() |
protected |
AbstractGenerator(boolean print) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConceptDirectories(AbstractGenerator.Concept concept,
AbstractGenerator.Profile profile,
AbstractGenerator.Feature feature,
org.hibernate.cfg.Configuration configuration,
org.hibernate.boot.MetadataSources metadataSources) |
protected String |
createFileName(String prefix,
String ending,
Enum... values) |
protected int |
getConceptSelection() |
protected org.hibernate.dialect.Dialect |
getDialect(AbstractGenerator.DialectSelector selection,
boolean comments) |
protected int |
getDialectSelection() |
protected File |
getDirectory(String path) |
protected List<String> |
getFeatureConceptDirectories(AbstractGenerator.Feature concept,
org.hibernate.cfg.Configuration configuration,
org.hibernate.boot.MetadataSources metadataSources) |
protected int |
getFeatureConceptSelection() |
protected int |
getModelSelection() |
protected Collection<String> |
getProfileDirectories(String p,
AbstractGenerator.Profile profile) |
protected static void |
printEnterYourSelection() |
protected static void |
printToScreen(String lineToPrint) |
protected void |
printToSysout(String lineToPrint) |
protected int |
readSelectionFromStdIo() |
protected int |
readSelectionFromStdIoWithDefault(int defaultValue) |
protected void |
setDirectoriesForModelSelection(AbstractGenerator.Concept concept,
AbstractGenerator.Profile profile,
AbstractGenerator.Feature feature,
org.hibernate.cfg.Configuration configuration,
org.hibernate.boot.MetadataSources metadataSources) |
protected static final String NEW_LINE
protected static final String PIPE
protected AbstractGenerator()
protected AbstractGenerator(boolean print)
protected org.hibernate.dialect.Dialect getDialect(AbstractGenerator.DialectSelector selection, boolean comments) throws Exception
Exceptionprotected int getDialectSelection()
throws IOException
IOExceptionprotected int getModelSelection()
throws IOException
IOExceptionprotected int getConceptSelection()
throws IOException
IOExceptionprotected int getFeatureConceptSelection()
throws IOException
IOExceptionprotected void setDirectoriesForModelSelection(AbstractGenerator.Concept concept, AbstractGenerator.Profile profile, AbstractGenerator.Feature feature, org.hibernate.cfg.Configuration configuration, org.hibernate.boot.MetadataSources metadataSources) throws Exception
Exceptionprotected void addConceptDirectories(AbstractGenerator.Concept concept, AbstractGenerator.Profile profile, AbstractGenerator.Feature feature, org.hibernate.cfg.Configuration configuration, org.hibernate.boot.MetadataSources metadataSources) throws Exception
Exceptionprotected List<String> getFeatureConceptDirectories(AbstractGenerator.Feature concept, org.hibernate.cfg.Configuration configuration, org.hibernate.boot.MetadataSources metadataSources) throws Exception
Exceptionprotected Collection<String> getProfileDirectories(String p, AbstractGenerator.Profile profile)
protected File getDirectory(String path) throws URISyntaxException
URISyntaxExceptionprotected static void printToScreen(String lineToPrint)
protected static void printEnterYourSelection()
protected void printToSysout(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.