ENTITY
- the entity typepublic interface Field<ENTITY> extends HasIdentifier<ENTITY>, HasGetter<ENTITY>, HasSetter<ENTITY>, HasTypeMapper
Modifier and Type | Method and Description |
---|---|
boolean |
isUnique()
Returns
true if the column that this field represents is UNIQUE. |
String |
tableAlias()
Returns the table alias for this field.
|
Field<ENTITY> |
tableAlias(String tableAlias)
Creates and returns a new Field with the provided
tableAlias . |
findColumn, identifier
typeMapper
boolean isUnique()
true
if the column that this field represents is UNIQUE.true
if uniqueString tableAlias()
tableAlias(String)
method.Field<ENTITY> tableAlias(String tableAlias)
tableAlias
. The new Field
will retain all other properties from this field except the tableAlias.tableAlias
- the table alias to use in the new fieldtableAlias
NullPointerException
- if the provided tableAlias
is null
Copyright © 2018 Speedment, Inc.. All rights reserved.