public class ObjectGraphBuilder
extends java.lang.Object
Constructor and Description |
---|
ObjectGraphBuilder(PersistenceContext context)
Creates an object graph builder.
|
Modifier and Type | Method and Description |
---|---|
ObjectGraph |
createObjectGraph(java.lang.Object object,
FieldsFilter filter)
Builds object graph for specified object using given filter.
|
public ObjectGraphBuilder(PersistenceContext context)
context
- the persistence contextpublic ObjectGraph createObjectGraph(java.lang.Object object, FieldsFilter filter)
object
- the object to build object graph for. Mandatory.filter
- the filter (included or excluded fields) to use. Optional.