ENTITY - the entity typeBASIC - the basic typepublic interface EntityPropertyType<ENTITY,BASIC>
This instance is not required to be thread safe.
| Modifier and Type | Method and Description |
|---|---|
void |
copy(ENTITY dest,
ENTITY src)
Copies this property value.
|
Property<ENTITY,BASIC> |
createProperty()
Creates the property.
|
java.lang.String |
getColumnName()
Return the column name.
|
java.lang.String |
getColumnName(java.util.function.BiFunction<NamingType,java.lang.String,java.lang.String> namingFunction)
Return the column name.
|
java.lang.String |
getColumnName(java.util.function.BiFunction<NamingType,java.lang.String,java.lang.String> namingFunction,
java.util.function.Function<java.lang.String,java.lang.String> quoteFunction)
Return the column name.
|
java.lang.String |
getColumnName(java.util.function.Function<java.lang.String,java.lang.String> quoteFunction)
Return the column name.
|
java.lang.String |
getName()
Returns the property name.
|
boolean |
isId()
Whether this property is an identifier.
|
boolean |
isInsertable()
Whether the column that is mapped to this property is included in SQL INSERT statements.
|
boolean |
isQuoteRequired()
Whether quotation marks are required to the column name.
|
boolean |
isTenantId()
Whether this property is a tenant id.
|
boolean |
isUpdatable()
Whether the column that is mapped to this property is included in SQL UPDATE statements.
|
boolean |
isVersion()
Whether this property is a version.
|
java.lang.String getName()
java.lang.String getColumnName()
java.lang.String getColumnName(java.util.function.Function<java.lang.String,java.lang.String> quoteFunction)
quoteFunction - the function that applies quotation marksjava.lang.String getColumnName(java.util.function.BiFunction<NamingType,java.lang.String,java.lang.String> namingFunction)
namingFunction - the function that applies naming conventionjava.lang.String getColumnName(java.util.function.BiFunction<NamingType,java.lang.String,java.lang.String> namingFunction, java.util.function.Function<java.lang.String,java.lang.String> quoteFunction)
namingFunction - the function that applies naming conventionquoteFunction - the function that applies quotation marksboolean isQuoteRequired()
true if requiredboolean isId()
true if this property is an identifierboolean isVersion()
true if this property is a versionboolean isTenantId()
true if this property is a tenant idboolean isInsertable()
true if included in SQL INSERT statements.boolean isUpdatable()
true if included in SQL UPDATE statements.