|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.flatpack.structure.Row
public class Row
This holds a collection of columns and their values along with the actual rownumber they appear in the flat file

| Constructor Summary | |
|---|---|
Row()
Constructs a new Row |
|
| Method Summary | |
|---|---|
void |
addColumn(java.util.List columns)
Appends the List of Strings to the existing columns in the row |
void |
addColumn(java.lang.String colValue)
Adds a column to a row |
java.util.List |
getCols()
Returns the cols for the row. |
java.lang.String |
getMdkey()
|
int |
getRowNumber()
Returns the rowNumber. |
java.lang.String |
getValue(int colPosition)
Returns the value of a column for a specified column name |
void |
setCols(java.util.List cols)
Set the columns for the row. |
void |
setMdkey(java.lang.String mdkey)
|
void |
setRowNumber(int rowNumber)
Sets the rowNumber. |
void |
setValue(int columnIndex,
java.lang.String value)
Set the value of a column for a specified column name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Row()
| Method Detail |
|---|
public void addColumn(java.lang.String colValue)
colValue - -
String value to add to the rowpublic void addColumn(java.util.List columns)
columns - -
List of Strings to append to the rowpublic java.lang.String getValue(int colPosition)
colPosition - -
int position of the column in the array
public void setValue(int columnIndex,
java.lang.String value)
columnIndex - -
column number to changevalue - -
String column valuepublic int getRowNumber()
public void setRowNumber(int rowNumber)
rowNumber - The rowNumber to setpublic java.util.List getCols()
public void setCols(java.util.List cols)
cols - -
Vector of Stringspublic java.lang.String getMdkey()
public void setMdkey(java.lang.String mdkey)
mdkey - The mdkey to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||