Interface RfcTable<T extends RfcStructure>
-
- All Superinterfaces:
Iterable<T>
public interface RfcTable<T extends RfcStructure> extends Iterable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendRow(T row)
Append a row to the tablevoid
appendTable(RfcTable<T> table)
Append a tablevoid
clear()
Remove all rows from the tableT
createRow()
Create new row NOTE: the row is not automatically added to the tableRfcTable<T>
getDetached()
This method returns detached copy of RfcTable, so the data could be used and accessed out of rfc execution contextString
getName()
Get the name of the tableT
getRow(int rowNumber)
Get row of the tableboolean
isAttached()
This method can be used to find out this RfcStructure detached or attachedIterator<T>
iterator()
Get rows of the tableint
size()
Get the number of rows in the tablevoid
toXml(OutputStream output)
This method writes xml presentation of the RfcTable object to given stream-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getName
String getName()
Get the name of the table- Returns:
- name of the table
-
createRow
T createRow()
Create new row NOTE: the row is not automatically added to the table- Returns:
- new row
-
appendRow
void appendRow(T row)
Append a row to the table- Parameters:
row
- row to append
-
iterator
Iterator<T> iterator()
Get rows of the table- Specified by:
iterator
in interfaceIterable<T extends RfcStructure>
- Returns:
- Iterator with the rows of the table
-
size
int size()
Get the number of rows in the table- Returns:
- number of rows in the table
-
clear
void clear()
Remove all rows from the table
-
getRow
T getRow(int rowNumber)
Get row of the table- Parameters:
rowNumber
-- Returns:
- Structure with the a row of the table
-
getDetached
RfcTable<T> getDetached()
This method returns detached copy of RfcTable, so the data could be used and accessed out of rfc execution context- Returns:
- self as detached RfcTable
-
isAttached
boolean isAttached()
This method can be used to find out this RfcStructure detached or attached- Returns:
- true if RfcStructure is connected to JCO
-
toXml
void toXml(OutputStream output)
This method writes xml presentation of the RfcTable object to given stream- Parameters:
output
- Stream for xml output
-
-