public class Celerio extends Object
Constructor and Description |
---|
Celerio() |
Modifier and Type | Method and Description |
---|---|
void |
addSecondaryEntityConfigs(List<EntityConfig> secondaryEntityConfigs) |
Configuration |
getConfiguration()
Configure the celerio generator, such as conventions, jdbc connectivity, and other
|
EntityConfig |
getEntityConfigByEntityName(String entityName) |
EntityConfig |
getEntityConfigByTableName(String tableName) |
List<EntityConfig> |
getEntityConfigs()
Configure the generated entities.
|
List<Include> |
getIncludes()
For large projects, you can split the content of the entityConfigs tag into multiple files and 'include' the files here.
|
EnumConfig |
getSharedEnumConfigByName(String enumName) |
List<EnumConfig> |
getSharedEnumConfigs()
Configure enums that will be used in multiple entities, and referenced by their name in ColumnConfig
|
boolean |
hasSharedEnumConfig(String enumName) |
void |
setConfiguration(Configuration configuration) |
void |
setEntityConfigs(List<EntityConfig> entityConfigs) |
void |
setIncludes(List<Include> includes) |
void |
setSharedEnumConfigs(List<EnumConfig> sharedEnumConfigs) |
public List<Include> getIncludes()
public Configuration getConfiguration()
public void setConfiguration(Configuration configuration)
public List<EntityConfig> getEntityConfigs()
public void addSecondaryEntityConfigs(List<EntityConfig> secondaryEntityConfigs)
public EntityConfig getEntityConfigByEntityName(String entityName)
public EntityConfig getEntityConfigByTableName(String tableName)
public void setEntityConfigs(List<EntityConfig> entityConfigs)
public List<EnumConfig> getSharedEnumConfigs()
public void setSharedEnumConfigs(List<EnumConfig> sharedEnumConfigs)
public boolean hasSharedEnumConfig(String enumName)
public EnumConfig getSharedEnumConfigByName(String enumName)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.