com.sap.aii.af.service.cpa

Class TableData.Row

java.lang.Object
  extended by com.sap.aii.af.service.cpa.TableData.Row
All Implemented Interfaces:
Cloneable
Enclosing class:
TableData

public class TableData.Row
extends Object
implements Cloneable

The inner class Row represents one row of the table. A row is "knows" the column names of the table it belongs to.


Constructor Summary
TableData.Row()
           
 
Method Summary
 void addField(String name, String value)
          Adds the content of a cell (String value) to a table row by column name.
 String getFieldValue(String name)
          Returns the cell content of the given column name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableData.Row

public TableData.Row()
Method Detail

addField

public void addField(String name,
                     String value)
              throws CPAException
Adds the content of a cell (String value) to a table row by column name. It gets checked, if the column name is known for the table definition.

Parameters:
name - The name of the column, where the String value is to be stored.
value - The String value to be stored in the column with the name given in the name parameter.
Throws:
CPAException - If the column name is not known for the given table.

getFieldValue

public String getFieldValue(String name)
Returns the cell content of the given column name.

Parameters:
name - The name of the column to get the String value from.
Returns:
The String value of the cell, specified by the column name.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.af.svc.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice