
org.hibernate.param.AbstractExplicitParameterSpecification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate Show documentation
Show all versions of hibernate Show documentation
Relational Persistence for Java
package org.hibernate.param;
import org.hibernate.type.Type;
/**
* Convenience base class for explicitly defined query parameters.
*
* @author Steve Ebersole
*/
public abstract class AbstractExplicitParameterSpecification implements ExplicitParameterSpecification {
private final int sourceLine;
private final int sourceColumn;
private Type expectedType;
protected AbstractExplicitParameterSpecification(int sourceLine, int sourceColumn) {
this.sourceLine = sourceLine;
this.sourceColumn = sourceColumn;
}
public int getSourceLine() {
return sourceLine;
}
public int getSourceColumn() {
return sourceColumn;
}
public Type getExpectedType() {
return expectedType;
}
public void setExpectedType(Type expectedType) {
this.expectedType = expectedType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy