public class StringLocalDateTimeMapProperty extends BaseMapProperty implements ESPropertyInfo
StringLocalDateTimeMap
field within a Mixable
.Modifier and Type | Class and Description |
---|---|
static class |
StringLocalDateTimeMapProperty.Factory
Factory for generating properties based on their field type
|
accessPath, alternativePropertyKey, defaultValue, descriptor, field, label, length, name, nameAsMapping, nullable, propertyKey, propertyName
Modifier and Type | Method and Description |
---|---|
void |
describeProperty(com.alibaba.fastjson.JSONObject description)
Creates the mapping description for this property into the given JSON.
|
protected Object |
transformFromElastic(sirius.kernel.commons.Value object)
Loads a value from an Elasticsearch database.
|
protected Object |
transformFromMongo(sirius.kernel.commons.Value object)
Loads a value from a MongoDB datasource.
|
protected Object |
transformToElastic(Object object)
Generates a value for an Elasticsearch database.
|
protected Object |
transformToMongo(Object object)
Generates a value for a MongoDB datasource.
|
getMap, getValueAsCopy, getValueFromField, setValueToField, transformValue
checkNullability, checkUniqueness, determineDefaultValue, determineLengths, determineNullability, equals, getAnnotation, getDefaultValue, getDefinition, getDescriptor, getField, getLabel, getLength, getName, getPropertyName, getValue, getValueForDatasource, hashCode, illegalFieldValue, isNullable, link, onAfterDelete, onAfterSave, onBeforeDelete, onBeforeSave, onBeforeSaveChecks, parseValue, setValue, setValueFromDatasource, toString, transformFromDatasource, transformFromJDBC, transformToDatasource, transformToJDBC
is, makeNewInstance, tryAs
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
transferOption
protected Object transformToMongo(Object object)
Property
transformToMongo
in class Property
object
- the database valueprotected Object transformFromMongo(sirius.kernel.commons.Value object)
Property
transformFromMongo
in class Property
object
- the database valueprotected Object transformToElastic(Object object)
Property
transformToElastic
in class Property
object
- the database valueprotected Object transformFromElastic(sirius.kernel.commons.Value object)
Property
transformFromElastic
in class Property
object
- the database valuepublic void describeProperty(com.alibaba.fastjson.JSONObject description)
ESPropertyInfo
describeProperty
in interface ESPropertyInfo
description
- the target JSON to fillCopyright © 2018. All rights reserved.