first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package WEB-INF.classes.wenrgise.ejb.common.helper;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import wenrgise.ejb.common.helper.QueryValue;
|
||||
|
||||
public class QueryRow implements Serializable {
|
||||
private HashMap row = null;
|
||||
|
||||
public QueryRow(int iCapacity) {
|
||||
this.row = new HashMap(iCapacity);
|
||||
}
|
||||
|
||||
public HashMap getRow() {
|
||||
return this.row;
|
||||
}
|
||||
|
||||
public void setRow(HashMap newRow) {
|
||||
this.row = newRow;
|
||||
}
|
||||
|
||||
public QueryValue get(String sColumnName) {
|
||||
if (this.row != null)
|
||||
return (QueryValue)this.row.get(sColumnName.toUpperCase());
|
||||
return null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user