Package dev.morphia.mapping.codec
Class MorphiaPropertySerialization
- java.lang.Object
 - 
- dev.morphia.mapping.codec.MorphiaPropertySerialization
 
 
- 
- All Implemented Interfaces:
 PropertySerialization
public class MorphiaPropertySerialization extends Object implements PropertySerialization
Determines if a property should be serialized or not 
- 
- 
Constructor Summary
Constructors Constructor Description MorphiaPropertySerialization(MorphiaConfig config, PropertyModelBuilder property) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldSerialize(Object value)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.bson.codecs.pojo.PropertySerialization
inline 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
MorphiaPropertySerialization
public MorphiaPropertySerialization(MorphiaConfig config, PropertyModelBuilder property)
- Parameters:
 config- the configuration to useproperty- the property in question
 
 - 
 
- 
Method Detail
- 
shouldSerialize
public boolean shouldSerialize(@Nullable Object value)
- Specified by:
 shouldSerializein interfacePropertySerialization
 
 - 
 
 -