public class StringNestedMapProperty extends BaseMapProperty
StringList
field within a MongoEntity
.Modifier and Type | Class and Description |
---|---|
static class |
StringNestedMapProperty.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 |
---|---|
protected EntityDescriptor |
getNestedDescriptor() |
protected Object |
transformFromMongo(sirius.kernel.commons.Value object)
Loads a value from a MongoDB datasource.
|
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, transformFromElastic, transformFromJDBC, transformToDatasource, transformToElastic, transformToJDBC
is, makeNewInstance, tryAs
protected EntityDescriptor getNestedDescriptor()
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 valueCopyright © 2018. All rights reserved.