public class StringIntMapProperty extends BaseMapProperty
StringIntMap
field within a Mixable
.Modifier and Type | Class and Description |
---|---|
static class |
StringIntMapProperty.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 Object |
transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType,
Object object)
Converts the Java object which resides in the associated field to the database value which is to be
written into the database.
|
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, transformFromMongo, transformToElastic, transformToJDBC, transformToMongo
is, makeNewInstance, tryAs
protected Object transformToDatasource(Class<? extends BaseMapper<?,?,?>> mapperType, Object object)
Property
transformToDatasource
in class Property
mapperType
- the mapper which is currently active. This can be used to determine which kind of database is
active and therefore which data format will be required.object
- the current field valueCopyright © 2018. All rights reserved.