|
||||||||||
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 row number 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()
|
java.lang.String |
getRawData()
Raw data used to create the columns for the row |
int |
getRowNumber()
Returns the rowNumber. |
java.lang.String |
getValue(int colPosition)
Returns the value of a column for a specified column name |
boolean |
isEmpty()
All columns in the row are empty |
void |
setCols(java.util.List cols)
Set the columns for the row. |
void |
setEmpty(boolean empty)
When true, all columns in the row are empty |
void |
setMdkey(java.lang.String mdkey)
|
void |
setRawData(java.lang.String rawData)
Raw data used to create the columns for the row |
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.public boolean isEmpty()
public void setEmpty(boolean empty)
empty
- the empty to setpublic java.lang.String getRawData()
public void setRawData(java.lang.String rawData)
rawData
- the rawData to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |