org.compass.core.config.process
Class NullValueMappingProcessor
java.lang.Object
org.compass.core.config.process.NullValueMappingProcessor
- All Implemented Interfaces:
- MappingProcessor
public class NullValueMappingProcessor
- extends Object
- implements MappingProcessor
Goes through each ClassMapping and handles its
null value definition. If CompassEnvironment.NullValue.NULL_VALUE
is set, will use it to set all unset null values. If it is not set, will leave the null
values as is.
In case it is set, then will disable null value for mappings that have null value of
CompassEnvironment.NullValue.DISABLE_NULL_VALUE_FOR_MAPPING
value.
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullValueMappingProcessor
public NullValueMappingProcessor()
process
public CompassMapping process(CompassMapping compassMapping,
PropertyNamingStrategy namingStrategy,
ConverterLookup converterLookup,
CompassSettings settings)
throws MappingException
- Specified by:
process in interface MappingProcessor
- Throws:
MappingException
Copyright (c) 2004-2008 The Compass Project.