package wenrgise.ejb.common.helper;

import java.io.Serializable;
import java.util.HashMap;

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;
  }
}
