EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference

javax.persistence
Interface Parameter<T>

Type Parameters:
T - the type of the parameter
All Known Subinterfaces:
ParameterExpression<T>

public interface Parameter<T>

Type for query parameters.

Since:
Java Persistence 2.0

Method Summary
 java.lang.String getName()
          Return the parameter name, or null if the parameter is not a named parameter.
 java.lang.Integer getPosition()
          Return the parameter position, or null if the parameter is not a positional parameter.
 

Method Detail

getName

java.lang.String getName()
Return the parameter name, or null if the parameter is not a named parameter.

Returns:
parameter name

getPosition

java.lang.Integer getPosition()
Return the parameter position, or null if the parameter is not a positional parameter.

Returns:
position of parameter

EclipseLink 2.0.0_ 2.0.0.v20090626-r4569 API Reference