Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.client.local
Class ErraiParameter<T>

java.lang.Object
  extended by org.jboss.errai.jpa.client.local.ErraiParameter<T>
All Implemented Interfaces:
javax.persistence.Parameter<T>

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


Method Summary
 String getName()
          Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.
 Class<T> getParameterType()
          Return the Java type of the parameter.
 Integer getPosition()
          Return the parameter position, or null if the parameter is not a positional parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Description copied from interface: javax.persistence.Parameter
Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.

Specified by:
getName in interface javax.persistence.Parameter<T>
Returns:
parameter name

getPosition

public Integer getPosition()
Description copied from interface: javax.persistence.Parameter
Return the parameter position, or null if the parameter is not a positional parameter.

Specified by:
getPosition in interface javax.persistence.Parameter<T>
Returns:
position of parameter

getParameterType

public Class<T> getParameterType()
Description copied from interface: javax.persistence.Parameter
Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Java Persistence query language queries and native queries will not be portable.

Specified by:
getParameterType in interface javax.persistence.Parameter<T>
Returns:
the Java type of the parameter

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.