result.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 68 行
JAVA
68 行
package org.hibernate.test.legacy;
public class Result {
private String name;
private long amount;
private long count;
/**
* Returns the amount.
* @return long
*/
public long getAmount() {
return amount;
}
/**
* Returns the count.
* @return int
*/
public long getCount() {
return count;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return name;
}
/**
* Sets the amount.
* @param amount The amount to set
*/
public void setAmount(long amount) {
this.amount = amount;
}
/**
* Sets the count.
* @param count The count to set
*/
public void setCount(long count) {
this.count = count;
}
/**
* Sets the name.
* @param name The name to set
*/
public void setName(String name) {
this.name = name;
}
public Result(String n, long a, int c) {
name = n;
amount = a;
count = c;
}
public Result(String n, long a, long c) {
name = n;
amount = a;
count = c;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?