namedparameterdescriptor.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 41 行
JAVA
41 行
package org.hibernate.engine.query;
import org.hibernate.type.Type;
import java.io.Serializable;
/**
* Descriptor regarding a named parameter.
*
* @author Steve Ebersole
*/
public class NamedParameterDescriptor implements Serializable {
private final String name;
private final Type expectedType;
private final int[] sourceLocations;
private final boolean jpaStyle;
public NamedParameterDescriptor(String name, Type expectedType, int[] sourceLocations, boolean jpaStyle) {
this.name = name;
this.expectedType = expectedType;
this.sourceLocations = sourceLocations;
this.jpaStyle = jpaStyle;
}
public String getName() {
return name;
}
public Type getExpectedType() {
return expectedType;
}
public int[] getSourceLocations() {
return sourceLocations;
}
public boolean isJpaStyle() {
return jpaStyle;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?