Spring Data Graph

org.springframework.data.graph.neo4j.jpa
Class Neo4jQueryParameter<T>

java.lang.Object
  extended by org.springframework.data.graph.neo4j.jpa.Neo4jQueryParameter<T>
All Implemented Interfaces:
javax.persistence.Parameter<T>

public class Neo4jQueryParameter<T>
extends Object
implements javax.persistence.Parameter<T>

Since:
11.09.2010
Author:
Michael Hunger

Constructor Summary
Neo4jQueryParameter(Class<T> type, String name, Integer position)
           
 
Method Summary
 String getName()
           
 Class<T> getParameterType()
           
 Integer getPosition()
           
static
<T> javax.persistence.Parameter<T>
param(Class<T> type, String name, Integer position)
           
static javax.persistence.Parameter<?> param(Integer position)
           
static javax.persistence.Parameter<?> param(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Neo4jQueryParameter

public Neo4jQueryParameter(Class<T> type,
                           String name,
                           Integer position)
Method Detail

getName

public String getName()
Specified by:
getName in interface javax.persistence.Parameter<T>

getPosition

public Integer getPosition()
Specified by:
getPosition in interface javax.persistence.Parameter<T>

getParameterType

public Class<T> getParameterType()
Specified by:
getParameterType in interface javax.persistence.Parameter<T>

param

public static javax.persistence.Parameter<?> param(String name)

param

public static javax.persistence.Parameter<?> param(Integer position)

param

public static <T> javax.persistence.Parameter<T> param(Class<T> type,
                                                       String name,
                                                       Integer position)

Spring Data Graph

Copyright © 2011. All Rights Reserved.