| Modifier and Type | Method and Description |
|---|---|
static String |
BindDataSourceSubProcessor.generateEntityName(SQLDaoDefinition dao,
SQLEntity entity)
dao or entity can be null
|
static String |
BindDataSourceSubProcessor.generateEntityQualifiedName(SQLDaoDefinition dao,
SQLEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AssertKripton.asserTrueOrForeignKeyNotFound(boolean expression,
SQLEntity currentEntity,
com.squareup.javapoet.ClassName entity) |
static void |
AssertKripton.asserTrueOrMissedAnnotationOnClassException(boolean expression,
SQLEntity entity,
String foreignClassName) |
static void |
AssertKripton.asserTrueOrUnspecifiedBeanException(boolean expression,
SQLiteDatabaseSchema schema,
SQLEntity entity,
String foreignClassName) |
| Modifier and Type | Field and Description |
|---|---|
Set<SQLEntity> |
GeneratedTypeElement.referedEntities |
| Constructor and Description |
|---|
CircularRelationshipException(SQLEntity entity) |
ForeignKeyNotFoundException(SQLEntity currentEntity,
com.squareup.javapoet.ClassName entity) |
SQLPrimaryKeyNotFoundException(SQLEntity entity) |
SQLPrimaryKeyNotValidTypeException(SQLEntity entity,
ModelProperty property) |
TooManySQLPrimaryKeyFoundException(SQLEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
static com.abubusoft.kripton.common.Pair<String,String> |
BindTableGenerator.buldIndexes(SQLEntity entity,
boolean unique,
int counter) |
static com.abubusoft.kripton.common.Pair<String,List<com.abubusoft.kripton.common.Pair<String,com.squareup.javapoet.TypeName>>> |
SqlUtility.extractParametersFromString(String value,
SQLiteModelMethod method,
SQLEntity entity)
Extract from value string every placeholder ${}, replace it with ? and
then convert every field typeName with column typeName.
|
static com.squareup.javapoet.ClassName |
BindTableGenerator.tableClassName(SQLDaoDefinition dao,
SQLEntity entity) |
void |
BindTableGenerator.visit(SQLiteDatabaseSchema schema,
SQLEntity entity) |
void |
BindCursorBuilder.visit(SQLiteDatabaseSchema schema,
SQLEntity entity) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,SQLEntity> |
SQLiteDatabaseSchema.entities |
protected Map<String,SQLEntity> |
SQLiteDatabaseSchema.entitiesBySimpleName |
Set<SQLEntity> |
SQLEntity.referedEntities
Set of entities for which there's a foreign in this entities.
|
| Modifier and Type | Method and Description |
|---|---|
SQLEntity |
SQLDaoDefinition.getEntity() |
SQLEntity |
SQLiteDatabaseSchema.getEntity(String entityClassName) |
SQLEntity |
SQLiteDatabaseSchema.getEntityBySimpleName(String entityName) |
| Modifier and Type | Method and Description |
|---|---|
Collection<SQLEntity> |
SQLiteDatabaseSchema.getEntities() |
List<SQLEntity> |
SQLiteDatabaseSchema.getEntitiesAsList() |
| Modifier and Type | Method and Description |
|---|---|
void |
SQLiteDatabaseSchema.addEntity(SQLEntity value) |
| Constructor and Description |
|---|
SQLProperty(SQLEntity entity,
Element element,
List<ModelAnnotation> modelAnnotations) |
Copyright © 2017. All rights reserved.