Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/test
In directory sc8-pr-cvs1:/tmp/cvs-serv32754/hibernate/test
Added Files:
Result.java
Log Message:
added missing test class
--- NEW FILE: Result.java ---
package net.sf.hibernate.test;
public class Result {
private String name;
private long amount;
private int count;
/**
* Returns the amount.
* @return long
*/
public long getAmount() {
return amount;
}
/**
* Returns the count.
* @return int
*/
public int 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(int 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;
}
}
|