Package org.bson.codecs.pojo
Interface PropertySerialization<T>
-
- Type Parameters:
T
- the type of the property.
public interface PropertySerialization<T>
An interface allowing aPropertyModel
to determine if a value should be serialized.- Since:
- 3.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldSerialize(T value)
Determines if a value should be serialized
-
-
-
Method Detail
-
shouldSerialize
boolean shouldSerialize(T value)
Determines if a value should be serialized- Parameters:
value
- the value to check- Returns:
- true if the value should be serialized
-
-