T
- type of value carried by this parameter.public class ParameterImpl<T> extends Object implements javax.persistence.Parameter<T>
Constructor and Description |
---|
ParameterImpl(Integer position,
Class<T> expectedValueType)
Construct a positional parameter with the given position as key and
given expected value type.
|
ParameterImpl(String name,
Class<T> expectedValueType)
Construct a named parameter with the given name as key and
given expected value type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Equals if the other parameter has the same name or position.
|
String |
getName() |
Class<T> |
getParameterType() |
Integer |
getPosition() |
int |
hashCode() |
String |
toString() |
public ParameterImpl(Integer position, Class<T> expectedValueType)
public final String getName()
getName
in interface javax.persistence.Parameter<T>
public final Integer getPosition()
getPosition
in interface javax.persistence.Parameter<T>
public Class<T> getParameterType()
getParameterType
in interface javax.persistence.Parameter<T>
public boolean equals(Object other)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.