public class StoredObjectRefProperty
extends sirius.db.mixing.Property
implements sirius.db.jdbc.schema.SQLPropertyInfo
StoredObjectRef within an SQLEntity.| Modifier and Type | Class and Description |
|---|---|
static class |
StoredObjectRefProperty.Factory
Factory for generating properties based on their field type
|
| Modifier and Type | Method and Description |
|---|---|
void |
contributeToTable(sirius.db.jdbc.schema.Table table) |
protected void |
determineLengths() |
protected StoredObjectRef |
getStoredObjectRef(Object entity) |
protected Object |
getValueFromField(Object target) |
protected void |
onAfterDelete(Object entity) |
protected void |
onAfterSave(Object entity) |
protected void |
setValue(Object entity,
Object object) |
protected void |
setValueToField(Object value,
Object target) |
protected Object |
transformFromJDBC(sirius.kernel.commons.Value object) |
protected Object |
transformToJDBC(Object object) |
Object |
transformValue(sirius.kernel.commons.Value value) |
checkNullability, checkUniqueness, determineDefaultValue, determineNullability, equals, getAnnotation, getDefaultValue, getDefinition, getDescriptor, getField, getLabel, getLength, getName, getPropertyName, getValue, getValueAsCopy, getValueForDatasource, hashCode, illegalFieldValue, isNullable, link, onBeforeDelete, onBeforeSave, onBeforeSaveChecks, parseValue, setValueFromDatasource, toString, transformFromDatasource, transformFromElastic, transformFromMongo, transformToDatasource, transformToElastic, transformToMongoprotected StoredObjectRef getStoredObjectRef(Object entity)
protected Object getValueFromField(Object target)
getValueFromField in class sirius.db.mixing.Propertypublic Object transformValue(sirius.kernel.commons.Value value)
transformValue in class sirius.db.mixing.Propertyprotected Object transformToJDBC(Object object)
transformToJDBC in class sirius.db.mixing.Propertyprotected Object transformFromJDBC(sirius.kernel.commons.Value object)
transformFromJDBC in class sirius.db.mixing.Propertyprotected void setValue(Object entity, Object object)
setValue in class sirius.db.mixing.Propertyprotected void setValueToField(Object value, Object target)
setValueToField in class sirius.db.mixing.Propertypublic void contributeToTable(sirius.db.jdbc.schema.Table table)
contributeToTable in interface sirius.db.jdbc.schema.SQLPropertyInfoprotected void determineLengths()
determineLengths in class sirius.db.mixing.Propertyprotected void onAfterSave(Object entity)
onAfterSave in class sirius.db.mixing.Propertyprotected void onAfterDelete(Object entity)
onAfterDelete in class sirius.db.mixing.PropertyCopyright © 2018. All rights reserved.