SerializeFieldStrategy
- public class SerializeFieldStrategy
A class which decides whether the properties, parents, name, etc. of an entity are to be included into the serialization or not.
The decision is based on a list of
Query.Selection
or smart defaults.- Author:
Timm Fitschen
Constructors
SerializeFieldStrategy
SerializeFieldStrategy
- public SerializeFieldStrategy()
Methods
addSelection
- public SerializeFieldStrategy addSelection(Selection selection)
forProperty
- public SerializeFieldStrategy forProperty(EntityInterface property)
forProperty
- public SerializeFieldStrategy forProperty(String name)
Return the strategy for a property.