namedparameterdescriptor.java
来自「hibernate-3.1.3-all-src.zip 面向对象的访问数据库工」· Java 代码 · 共 33 行
JAVA
33 行
package org.hibernate.engine.query;
import org.hibernate.type.Type;
import java.io.Serializable;
/**
* @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
*/
public class NamedParameterDescriptor implements Serializable {
private final String name;
private final Type expectedType;
private final int[] sourceLocations;
public NamedParameterDescriptor(String name, Type expectedType, int[] sourceLocations) {
this.name = name;
this.expectedType = expectedType;
this.sourceLocations = sourceLocations;
}
public String getName() {
return name;
}
public Type getExpectedType() {
return expectedType;
}
public int[] getSourceLocations() {
return sourceLocations;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?