public class SQLEntity extends ModelClass<SQLProperty> implements Finder<SQLProperty>
| Modifier and Type | Field and Description |
|---|---|
Set<SQLEntity> |
referedEntities
Set of entities for which there's a foreign in this entities.
|
annotations, typeVariableResolvercollectionelement, name| Constructor and Description |
|---|
SQLEntity(SQLiteDatabaseSchema model,
BindEntity bindEntity) |
| Modifier and Type | Method and Description |
|---|---|
int |
countPrimaryKeys()
Check how many PK are defined in entity.
|
SQLProperty |
getPrimaryKey()
True if there is a primary key
|
String |
getTableName() |
accept, add, addAnnotation, containsAnnotation, getAnnotation, getAnnotations, getSimpleName, hasAnnotation, resolveTypeVariablecontains, findPropertyByName, get, getCollectionequals, getElement, getName, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfindPropertyByName, getCollection, getSimpleNamegetElementpublic SQLEntity(SQLiteDatabaseSchema model, BindEntity bindEntity)
public int countPrimaryKeys()
public SQLProperty getPrimaryKey()
public String getTableName()
Copyright © 2017. All rights reserved.