public class EntityGraphUtils extends Object
| Constructor and Description |
|---|
EntityGraphUtils() |
| Modifier and Type | Method and Description |
|---|---|
static EntityGraph |
empty() |
static EntityGraph |
fromAttributePaths(String... attributePaths) |
static EntityGraph |
fromName(String name) |
static EntityGraph |
fromName(String name,
boolean optional) |
public static EntityGraph empty()
public static EntityGraph fromName(String name)
name - The name of the targeted EntityGraphpublic static EntityGraph fromName(String name, boolean optional)
name - The name of the targeted EntityGraphoptional - Is the EntityGraph usage optional?public static EntityGraph fromAttributePaths(String... attributePaths)
attributePaths - The attribute paths to be present in the resultDynamicEntityGraph with the path attributes passed in as arguments.Copyright © 2017 Cosium. All rights reserved.