Package com.im.ijc.core.api.datatransfer
Interface TableDataTransferObject
-
- All Superinterfaces:
IJCTransferObject
public interface TableDataTransferObject extends IJCTransferObject
TransferObject (data holder which is put into clipboard) for copy/paste of tabular data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TableDataTransferObject.Format
Format info for the values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.im.df.api.ddl.DFField
getFieldAt(int index)
java.util.List<com.im.df.api.ddl.DFField>
getFields()
int
getFieldsCount()
java.util.Map<java.lang.String,TableDataTransferObject.Format>
getFormatAt(int index)
com.chemaxon.ijc.commons.datarequest.api.RelationalData.Row
getRowAt(int index)
int
getRowsCount()
boolean
isFormatAvailable()
-
Methods inherited from interface com.im.ijc.core.api.datatransfer.IJCTransferObject
getSchemas
-
-
-
-
Method Detail
-
getFieldsCount
int getFieldsCount()
- Returns:
- number of fields (columns).
-
getFields
java.util.List<com.im.df.api.ddl.DFField> getFields()
- Returns:
- all fields (columns).
-
getFieldAt
com.im.df.api.ddl.DFField getFieldAt(int index)
- Parameters:
index
- field position- Returns:
- field at specified position.
-
getRowsCount
int getRowsCount()
- Returns:
- number of rows of data in clipboard.
-
getRowAt
com.chemaxon.ijc.commons.datarequest.api.RelationalData.Row getRowAt(int index)
- Parameters:
index
- row index- Returns:
- specified row's data. Keys of the map are
DFItem.getId()
and values are real data.
-
isFormatAvailable
boolean isFormatAvailable()
- Returns:
- true if formatting is part of this transfer object, otherwise false
-
getFormatAt
java.util.Map<java.lang.String,TableDataTransferObject.Format> getFormatAt(int index)
- Parameters:
index
- index of the row- Returns:
- formatting for specified row. Keys of the map are
DFItem.getId()
and values are formatting for each value. If formatting is not supported this method can return null.
-
-