abstractexplicitparameterspecification.java

来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 37 行

JAVA
37
字号
package org.hibernate.param;

import org.hibernate.type.Type;

/**
 * Convenience base class for explicitly defined query parameters.
 *
 * @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
 */
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;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?