|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.csv.CSVColumn
public class CSVColumn
A bridging object which is both a column in a CSV file and a column in a POEM database.
A CSVColumn can be a primary key for this table, ie unique and used by other tables to refer to this record.
A CSVColumn can also be a foreign key into another CSVTable
.
Constructor Summary | |
---|---|
CSVColumn(String poemName)
Simplest case constructor. |
|
CSVColumn(String poemName,
boolean isPrimaryKey)
Constructor for a key value into another table. |
|
CSVColumn(String poemName,
CSVTable foreignTable)
Constructor for a key value into another table. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVColumn(String poemName)
poemName
- the name of the POEM column this is to be mapped to.public CSVColumn(String poemName, CSVTable foreignTable)
poemName
- the name of the POEM column this is to be mapped to.foreignTable
- another CSVTable in which this value should be found.public CSVColumn(String poemName, boolean isPrimaryKey)
poemName
- the name of the POEM column this is to be mapped to.isPrimaryKey
- flag to indicate this is the primary key column.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |