Top Fields Constructors Methods
org.hibernate.query.criteria.internal.compile

public Class ExplicitParameterInfo<T>

extends Object
implements Parameter<T>
Class Inheritance
All Implemented Interfaces
javax.persistence.Parameter
Imports
java.util.Calendar, .Date, javax.persistence.Parameter

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final Integer
private final Class<T>

Constructor Summary

AccessConstructor and Description
public
ExplicitParameterInfo(String name, Integer position, Class<T> type)

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements javax.persistence.Parameter.getName.

Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.
public Class<T>
getParameterType()

Implements javax.persistence.Parameter.getParameterType.

Return the Java type of the parameter.
public Integer
getPosition()

Implements javax.persistence.Parameter.getPosition.

Return the parameter position, or null if the parameter is not a positional parameter.
public boolean
public String

Returns:

The rendered form
render
()

Renders this parameter's JPQL form

public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
positionback to summary
private final Integer position
typeback to summary
private final Class<T> type

Constructor Detail

ExplicitParameterInfoback to summary
public ExplicitParameterInfo(String name, Integer position, Class<T> type)

Method Detail

getNameback to summary
public String getName()

Implements javax.persistence.Parameter.getName.

Doc from javax.persistence.Parameter.getName.

Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.

Returns:String

parameter name

getParameterTypeback to summary
public Class<T> getParameterType()

Implements javax.persistence.Parameter.getParameterType.

Doc from javax.persistence.Parameter.getParameterType.

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.

Returns:Class<T>

the Java type of the parameter

Annotations
@Override
getPositionback to summary
public Integer getPosition()

Implements javax.persistence.Parameter.getPosition.

Doc from javax.persistence.Parameter.getPosition.

Return the parameter position, or null if the parameter is not a positional parameter.

Returns:Integer

position of parameter

isNamedback to summary
public boolean isNamed()
renderback to summary
public String render()

Renders this parameter's JPQL form

Returns:String

The rendered form

validateBindValueback to summary
public void validateBindValue(Object value)
validateCalendarBindback to summary
public void validateCalendarBind()
validateDateBindback to summary
public void validateDateBind()