public class FlatFileSet extends DataSet implements FlatFileSetStorage
| Constructor and Description |
|---|
FlatFileSet(FlatFileDOM[] similartextfiles) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllFlatFiles(java.util.Collection s)
Appends all of the FlatFileStorage nicknames in the specified
collection to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation).
|
void |
addAllFlatFiles(int index,
java.util.Collection s)
Inserts all of the elements in the specified collection into this list
at the specified position (optional operation).
|
void |
addColumn(int row) |
void |
addColumn(int col,
java.lang.String name,
java.lang.Class c)
Insert a column at the given location.
|
void |
addColumn(java.lang.String name,
java.lang.Class c)
Adds a column but only symbolically by adding a header and type for the column.
|
void |
addFlatFile(FlatFileDOM dom) |
void |
addFlatFile(int row,
FlatFileDOM dom) |
void |
addFlatFile(int index,
java.lang.String nickname)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(java.lang.String nickname)
Appends the specified FlatFileStorage nickname to the end of this list.
|
void |
addRepositoryListener(RepositoryListener l) |
void |
addRow(int row)
Add a row to the table at given row position.
|
void |
addRow(java.lang.Object[] row) |
void |
addRow(java.util.Vector row) |
void |
afterCopyStorage() |
void |
afterTransferStorage() |
void |
beforeCopyStorage() |
void |
beforeTransferStorage() |
void |
clear() |
void |
clearFlatFiles() |
boolean |
containsAllFlatFiles(java.util.Collection nicknames) |
boolean |
containsFlatFile(java.lang.String nickname) |
void |
copyStorage(RepositoryStorage that) |
void |
copyStorageCommands(RepositoryStorage that) |
int |
fileSetSize() |
int |
getColumnCount()
The assumption is that the column count is the same for all.
|
java.lang.String |
getComment()
Gets the descriptive comment for this Wedge inverse problem as a whole.
|
java.lang.String |
getCreatedBy() |
java.lang.String |
getCreatedOn() |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.Class |
getDOMStorageClass() |
java.lang.String |
getEnabled()
Gets the state of the (possibly remote) storage.
|
FlatFileDOM |
getFlatFileDOM(int row) |
java.util.Vector |
getFlatFileNames() |
java.lang.String |
getNickname()
Gets the project name for this Wedge inverse problem.
|
int |
getRowCount() |
java.lang.String |
getSortProtocol() |
java.lang.Class |
getStorageTransferAgentClass() |
java.lang.Object |
getValueAt(int row,
int col) |
int |
indexOfFlatFile(java.lang.String nickname) |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
A FlatFileSet is not typically editable since, other than buffering, we don't store any values locally.
|
void |
removeAllFlatFiles(java.util.Collection nicknames) |
void |
removeFlatFile(int index) |
void |
removeFlatFile(java.lang.String nickname) |
void |
removeRepositoryListener(RepositoryListener l) |
FlatFileDOM |
seek(int seekrow)
Returns the FlatFileDOM containing the given row.
|
void |
setComment(java.lang.String cmt) |
void |
setCreatedBy(java.lang.String proto) |
void |
setCreatedOn(java.lang.String proto) |
void |
setEnabled(java.lang.String proto)
Sets the enabled state of the (possibly remote) storage instance.
|
void |
setNickname(java.lang.String proto)
Sets the project name for this Wedge inverse problem.
|
void |
setSortProtocol(java.lang.String proto) |
void |
transferStorage(RepositoryStorage that) |
void |
transferStorageCommands(RepositoryStorage that) |
protected void |
updateMap() |
about, abs, acos, add, addRows, asin, atan, atan2, atan2, atan2, cbrt, ceil, classMatrix, classMatrix, cos, cosh, divide, exp, expm1, floor, fromDblMatrix, fromDblMatrix, getColumnClass, getColumnForName, getColumnName, getHeaders, getName, getTitle, getVariable, hypot, hypot, hypot, IEEEremainder, IEEEremainder, IEEEremainder, log, log10, log1p, max, max, max, min, min, min, multiply, pow, pow, pow, pow, pow, pow, pow, rand, removeColumn, removeRow, rint, round, setAboutString, setColumnName, setName, setTitle, setValueAt, show, show, signum, sin, sinh, sqrt, subtract, tan, tanh, toDegrees, toRadians, ulp, updateFromDblMatrix, updateFromDblMatrix, vars, where, whereaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic FlatFileSet(FlatFileDOM[] similartextfiles)
public java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass in interface RepositoryStoragepublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class DataSetpublic void addFlatFile(int row,
FlatFileDOM dom)
public void addFlatFile(FlatFileDOM dom)
public void addFlatFile(int index,
java.lang.String nickname)
FlatFileSetStorageaddFlatFile in interface FlatFileSetStoragepublic void addFlatFile(java.lang.String nickname)
addFlatFile in interface FlatFileSetStoragepublic void addAllFlatFiles(int index,
java.util.Collection s)
addAllFlatFiles in interface FlatFileSetStoragepublic void addAllFlatFiles(java.util.Collection s)
addAllFlatFiles in interface FlatFileSetStoragepublic void clearFlatFiles()
clearFlatFiles in interface FlatFileSetStoragepublic boolean containsFlatFile(java.lang.String nickname)
containsFlatFile in interface FlatFileSetStoragepublic int fileSetSize()
fileSetSize in interface FlatFileSetStoragepublic boolean containsAllFlatFiles(java.util.Collection nicknames)
containsAllFlatFiles in interface FlatFileSetStoragepublic void removeFlatFile(int index)
removeFlatFile in interface FlatFileSetStoragepublic void removeFlatFile(java.lang.String nickname)
removeFlatFile in interface FlatFileSetStoragepublic void removeAllFlatFiles(java.util.Collection nicknames)
removeAllFlatFiles in interface FlatFileSetStoragepublic int indexOfFlatFile(java.lang.String nickname)
indexOfFlatFile in interface FlatFileSetStoragepublic FlatFileDOM getFlatFileDOM(int row)
public void clear()
public java.util.Vector getFlatFileNames()
getFlatFileNames in interface FlatFileSetStoragepublic java.lang.Class getDOMStorageClass()
getDOMStorageClass in interface DOMStorablepublic void beforeTransferStorage()
beforeTransferStorage in interface RepositoryStorageTransferpublic void afterTransferStorage()
afterTransferStorage in interface RepositoryStorageTransferpublic void beforeCopyStorage()
beforeCopyStorage in interface RepositoryStorageTransferpublic void afterCopyStorage()
afterCopyStorage in interface RepositoryStorageTransferpublic void copyStorageCommands(RepositoryStorage that)
copyStorageCommands in interface RepositoryStorageTransferpublic void transferStorageCommands(RepositoryStorage that)
transferStorageCommands in interface RepositoryStorageTransferpublic void transferStorage(RepositoryStorage that)
transferStorage in interface RepositoryStorageTransferpublic void copyStorage(RepositoryStorage that)
copyStorage in interface RepositoryStorageTransferpublic java.lang.Class getStorageTransferAgentClass()
public void setComment(java.lang.String cmt)
setComment in interface RepositoryStoragepublic java.lang.String getComment()
RepositoryStoragegetComment in interface RepositoryStorageprotected void updateMap()
public void setSortProtocol(java.lang.String proto)
setSortProtocol in interface FlatFileSetStoragepublic java.lang.String getSortProtocol()
getSortProtocol in interface FlatFileSetStoragepublic void setCreatedOn(java.lang.String proto)
setCreatedOn in interface RepositoryStoragepublic java.lang.String getCreatedOn()
getCreatedOn in interface RepositoryStoragepublic void setCreatedBy(java.lang.String proto)
setCreatedBy in interface RepositoryStoragepublic java.lang.String getCreatedBy()
getCreatedBy in interface RepositoryStoragepublic void setNickname(java.lang.String proto)
RepositoryStoragesetNickname in interface RepositoryStoragepublic java.lang.String getNickname()
RepositoryStoragegetNickname in interface RepositoryStoragepublic void setEnabled(java.lang.String proto)
RepositoryStoragesetEnabled in interface RepositoryStoragepublic java.lang.String getEnabled()
RepositoryStoragegetEnabled in interface RepositoryStoragepublic void addRepositoryListener(RepositoryListener l)
addRepositoryListener in interface RepositoryStoragepublic void removeRepositoryListener(RepositoryListener l)
removeRepositoryListener in interface RepositoryStoragepublic void addColumn(java.lang.String name,
java.lang.Class c)
public FlatFileDOM seek(int seekrow)
public int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelgetColumnCount in class DataSetpublic java.lang.Object getValueAt(int row,
int col)
getValueAt in interface javax.swing.table.TableModelgetValueAt in class DataSetpublic void addRow(int row)
DataSetpublic void addRow(java.lang.Object[] row)
public void addRow(java.util.Vector row)
public void addColumn(int row)
public void addColumn(int col,
java.lang.String name,
java.lang.Class c)
DataSetpublic int getRowCount()
getRowCount in interface javax.swing.table.TableModelgetRowCount in class DataSetCopyright © 2011, 2013. Daniel P. Dougherty