final class EmptyObjectGraph extends java.lang.Object implements ObjectGraph
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
entityClass |
| Constructor and Description |
|---|
EmptyObjectGraph(java.lang.Class<?> entityClass) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getEntityClass()
Get entity domain class of this graph.
|
java.util.Set<java.lang.String> |
getFields()
Get a set of all simple (non-filterable) fields of entity class.
|
java.util.Set<java.lang.String> |
getFields(java.lang.String parent)
Get fields with the given parent path.
|
java.util.Map<java.lang.String,ObjectGraph> |
getSubgraphs()
Get a map of all further-filterable fields of entity class.
|
java.util.Map<java.lang.String,ObjectGraph> |
getSubgraphs(java.lang.String parent)
Get subgraphs with the given parent path.
|
public java.lang.Class<?> getEntityClass()
ObjectGraphgetEntityClass in interface ObjectGraphpublic java.util.Set<java.lang.String> getFields()
ObjectGraphgetFields in interface ObjectGraphpublic java.util.Set<java.lang.String> getFields(java.lang.String parent)
ObjectGraphgetFields in interface ObjectGraphparent - name of parent field.public java.util.Map<java.lang.String,ObjectGraph> getSubgraphs()
ObjectGraph<field> -> <object-graph>It is supposed that object graphs contained in this map would be processed further.
getSubgraphs in interface ObjectGraphpublic java.util.Map<java.lang.String,ObjectGraph> getSubgraphs(java.lang.String parent)
ObjectGraphgetSubgraphs in interface ObjectGraphparent - name of parent field.