MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.glossary.persistence.entities/GlossaryTermEntity

GlossaryTermEntity

[jvm]
object GlossaryTermEntity : IntIdTable

Glossary term entity,

Properties

Name Summary
autoIncColumn [jvm]
val autoIncColumn: Column<*>?
columns [jvm]
open override val columns: List<Column<*>>
ddl [jvm]
val ddl: List<String>
fields [jvm]
open override val fields: List<Expression<*>>
foreignKeys [jvm]
val foreignKeys: List<ForeignKeyConstraint>
id [jvm]
override val id: Column<EntityID<Int>>
indices [jvm]
val indices: List<Index>
lang [jvm]
val lang: Column<String>
lemma [jvm]
val lemma: Column<String>
primaryKey [jvm]
override val primaryKey: Table.PrimaryKey
realFields [jvm]
open val realFields: List<Expression<*>>
source [jvm]
open override val source: ColumnSet
tableName [jvm]
open val tableName: String

Functions

Name Summary
autoGenerate [jvm]
fun Column<UUID>.autoGenerate(): Column<UUID>
autoinc [jvm]
fun <N : Comparable<N>> Column<EntityID<N>>.autoinc(idSeqName: String?): Column<EntityID<N>>
autoIncrement [jvm]
fun <N : Any> Column<N>.autoIncrement(idSeqName: String?): Column<N>
binary [jvm]
fun binary(name: String): Column<ByteArray>
fun binary(name: String, length: Int): Column<ByteArray>
blob [jvm]
fun blob(name: String): Column<ExposedBlob>
bool [jvm]
fun bool(name: String): Column<Boolean>
byte [jvm]
fun byte(name: String): Column<Byte>
char [jvm]
fun char(name: String): Column<Char>
fun char(name: String, length: Int, collate: String?): Column<String>
check [jvm]
fun check(name: String, op: SqlExpressionBuilder.() -> Op<Boolean>)
check [jvm]
fun <T> Column<T>.check(name: String, op: SqlExpressionBuilder.(Column<T>) -> Op<Boolean>): Column<T>
clientDefault [jvm]
fun <T> Column<T>.clientDefault(defaultValue: () -> T): Column<T>
createStatement [jvm]
open override fun createStatement(): List<String>
crossJoin [jvm]
open infix override fun crossJoin(otherTable: ColumnSet): Join
customEnumeration [jvm]
fun <T : Enum<T>> customEnumeration(name: String, sql: String?, fromDb: (Any) -> T, toDb: (T) -> Any): Column<T>
decimal [jvm]
fun decimal(name: String, precision: Int, scale: Int): Column<BigDecimal>
default [jvm]
fun <T> Column<T>.default(defaultValue: T): Column<T>
fun <T> CompositeColumn<T>.default(defaultValue: T): CompositeColumn<T>
defaultExpression [jvm]
fun <T> Column<T>.defaultExpression(defaultValue: Expression<T>): Column<T>
describe [jvm]
open override fun describe(s: Transaction, queryBuilder: QueryBuilder)
double [jvm]
fun double(name: String): Column<Double>
dropStatement [jvm]
open override fun dropStatement(): List<String>
entityId [jvm]
fun <ID : Comparable<ID>> entityId(name: String, table: IdTable<ID>): Column<EntityID<ID>>
fun <ID : Comparable<ID>> entityId(name: String, originalColumn: Column<ID>): Column<EntityID<ID>>
entityId [jvm]
fun <T : Comparable<T>> Column<T>.entityId(): Column<EntityID<T>>
enumeration [jvm]
inline fun <T : Enum<T>> enumeration(name: String): Column<T>
fun <T : Enum<T>> enumeration(name: String, klass: KClass<T>): Column<T>
enumerationByName [jvm]
inline fun <T : Enum<T>> enumerationByName(name: String, length: Int): Column<T>
fun <T : Enum<T>> enumerationByName(name: String, length: Int, klass: KClass<T>): Column<T>
equals [jvm]
open operator override fun equals(other: Any?): Boolean
float [jvm]
fun float(name: String): Column<Float>
foreignKey [jvm]
fun foreignKey(vararg references: Pair<Column<>, Column<>>, onUpdate: ReferenceOption?, onDelete: ReferenceOption?, name: String?)
fun foreignKey(vararg from: Column<*>, target: Table.PrimaryKey, onUpdate: ReferenceOption?, onDelete: ReferenceOption?, name: String?)
fullJoin [jvm]
open infix override fun fullJoin(otherTable: ColumnSet): Join
hashCode [jvm]
open override fun hashCode(): Int
index [jvm]
fun index(isUnique: Boolean, vararg columns: Column<>)
fun index(customIndexName: String?, isUnique: Boolean, vararg columns: Column<
>, indexType: String?)
index [jvm]
fun <T> Column<T>.index(customIndexName: String?, isUnique: Boolean): Column<T>
innerJoin [jvm]
open infix override fun innerJoin(otherTable: ColumnSet): Join
integer [jvm]
fun integer(name: String): Column<Int>
join [jvm]
open override fun join(otherTable: ColumnSet, joinType: JoinType, onColumn: Expression<>?, otherColumn: Expression<>?, additionalConstraint: SqlExpressionBuilder.() -> Op<Boolean>?): Join
largeText [jvm]
fun largeText(name: String, collate: String?, eagerLoading: Boolean): Column<String>
leftJoin [jvm]
open infix override fun leftJoin(otherTable: ColumnSet): Join
long [jvm]
fun long(name: String): Column<Long>
mediumText [jvm]
fun mediumText(name: String, collate: String?, eagerLoading: Boolean): Column<String>
modifyStatement [jvm]
open override fun modifyStatement(): List<String>
nameInDatabaseCase [jvm]
fun nameInDatabaseCase(): String
nullable [jvm]
fun <T : Any, C : CompositeColumn<T>> C.nullable(): CompositeColumn<T?>
fun <T : Any> Column<T>.nullable(): Column<T?>
optReference [jvm]
fun <T : Comparable<T>> optReference(name: String, foreign: IdTable<T>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<EntityID<T>?>
fun <T : Comparable<T>> optReference(name: String, refColumn: Column<T>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<T?>
fun <T : Comparable<T>, E : EntityID<T>> optReference(name: String, refColumn: Column<E>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<E?>
reference [jvm]
fun <T : Comparable<T>> reference(name: String, foreign: IdTable<T>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<EntityID<T>>
fun <T : Comparable<T>> reference(name: String, refColumn: Column<T>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<T>
fun <T : Comparable<T>, E : EntityID<T>> reference(name: String, refColumn: Column<E>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): Column<E>
references [jvm]
infix fun <T : Comparable<T>, S : T, C : Column<S>> C.references(ref: Column<T>): C
fun <T : Comparable<T>, S : T, C : Column<S>> C.references(ref: Column<T>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): C
fun <T : Comparable<T>, S : T, C : Column<S>> C.references(ref: Column<EntityID<T>>, onDelete: ReferenceOption?, onUpdate: ReferenceOption?, fkName: String?): C
registerColumn [jvm]
fun <T> registerColumn(name: String, type: IColumnType): Column<T>
registerCompositeColumn [jvm]
fun <R, T : CompositeColumn<R>> registerCompositeColumn(column: T): T
replaceColumn [jvm]
fun <TColumn : Column<>> replaceColumn(oldColumn: Column<>, newColumn: TColumn): TColumn
rightJoin [jvm]
open infix override fun rightJoin(otherTable: ColumnSet): Join
short [jvm]
fun short(name: String): Column<Short>
slice [jvm]
fun slice(columns: List<Expression<>>): FieldSet
fun slice(column: Expression<
>, vararg columns: Expression<*>): FieldSet
text [jvm]
fun text(name: String, collate: String?, eagerLoading: Boolean): Column<String>
ubyte [jvm]
fun ubyte(name: String): Column<UByte>
uinteger [jvm]
fun uinteger(name: String): Column<UInt>
ulong [jvm]
fun ulong(name: String): Column<ULong>
uniqueIndex [jvm]
fun uniqueIndex(vararg columns: Column<>)
fun uniqueIndex(customIndexName: String?, vararg columns: Column<
>)
uniqueIndex [jvm]
fun <T> Column<T>.uniqueIndex(customIndexName: String?): Column<T>
ushort [jvm]
fun ushort(name: String): Column<UShort>
uuid [jvm]
fun uuid(name: String): Column<UUID>
varchar [jvm]
fun varchar(name: String, length: Int, collate: String?): Column<String>