Spring Data JPA

org.springframework.data.jpa.repository.query
Class JpaEntityGraph

java.lang.Object
  extended by org.springframework.data.jpa.repository.query.JpaEntityGraph

public class JpaEntityGraph
extends Object

EntityGraph configuration for JPA 2.1 EntityGraphs.

Since:
1.6
Author:
Thomas Darimont

Constructor Summary
JpaEntityGraph(String name, EntityGraph.EntityGraphType type)
          Creates an JpaEntityGraph.
 
Method Summary
 String getName()
          Returns the name of the EntityGraph configuration to use.
 EntityGraph.EntityGraphType getType()
          Returns the EntityGraph.EntityGraphType of the EntityGraph to use.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaEntityGraph

public JpaEntityGraph(String name,
                      EntityGraph.EntityGraphType type)
Creates an JpaEntityGraph.

Parameters:
name - must not be .
type - must not be .
Method Detail

getName

public String getName()
Returns the name of the EntityGraph configuration to use.

Returns:

getType

public EntityGraph.EntityGraphType getType()
Returns the EntityGraph.EntityGraphType of the EntityGraph to use.

Returns:

toString

public String toString()
Overrides:
toString in class Object

Spring Data JPA

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.