Interface RfcObject
- 
- All Known Subinterfaces:
- RfcFunctionModule,- RfcStructure
 
 public interface RfcObject
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimalgetBigDecimal(String name)Get the value of a field/parameter of type BigDecimalBigIntegergetBigInteger(String name)Get the value of a field/parameter of type BigIntegerBytegetByte(String name)Get the value of a field/parameter as Bytebyte[]getByteArray(String name)Get the value of a field/parameter as byte arraychar[]getCharArray(String name)Get the value of a field/parameter of type CHAR[]DategetDate(String name)Get the value of a field/parameter of type DATEObjectgetField(String name)Get the value of a field/parameter of any typeIntegergetInteger(String name)Get the value of an export/import field/parameter of type integerLonggetLong(String name)Get the value of a field/parameter as LongMap<String,RfcSapFieldMetadata>getMetadata()This method returns Meta data of the interfaceStringgetName()Get the name of the rfc-object structure/function modulebyte[]getRawByteArray(String name)Get the value of a field/parameter of type RAW It assumes that the value is returned by SAP as a hex stringShortgetShort(String name)Get the value of a field/parameter as ShortStringgetString(String name)Get the value of an export/import field/parameter of type stringRfcStructuregetStructure(String name)Get an import/export structure Calling this method BEFORE executing the function module is required for getting and/or setting structure values<T extends RfcStructure>
 RfcTable<T>getTable(String name)Get an import/export table Calling this method BEFORE executing the function module is required for getting and/or setting table valuesDategetTime(String name)Get the value of a field/parameter of type TIMEbooleanisAttached()This method can be used to find out this RfcObject detached or attachedvoidsetBigDecimal(String name, BigDecimal value)Set the value of a field/parameter of type BigDecimalvoidsetBigInteger(String name, BigInteger value)Set the value of a field/parameter of type BigIntegervoidsetByte(String name, Byte value)Set the value of a field/parameter as BytevoidsetByteArray(String name, byte[] value)Set the value of a field/parameter as a byte arrayvoidsetCharArray(String name, char[] value)Set the value of a field/parameter of type CHAR[]voidsetDate(String name, Date value)Set the value of a field/parameter of type DATEvoidsetField(String name, Object value)Set the value of a field/parameter of any typevoidsetInteger(String name, Integer value)Set an import field/parameter of type integervoidsetLong(String name, Long value)Set the value of a field/parameter as LongvoidsetRawByteArray(String name, byte[] value)Set the value of a field/parameter of type RAW It assumes that the value is expected by SAP as a hex stringvoidsetShort(String name, Short value)Set the value of a field/parameter as ShortvoidsetString(String name, String value)Set an import field/parameter of type stringvoidsetTime(String name, Date value)Set the value of a field/parameter of type TIMEvoidtoXml(OutputStream output)This method writes xml presentation of the function module to given stream
 
- 
- 
- 
Method Detail- 
getNameString getName() Get the name of the rfc-object structure/function module- Returns:
- name of the rfc-object structure/function module
 
 - 
getStringString getString(String name) Get the value of an export/import field/parameter of type string- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setStringvoid setString(String name, String value) Set an import field/parameter of type string- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getIntegerInteger getInteger(String name) Get the value of an export/import field/parameter of type integer- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setIntegervoid setInteger(String name, Integer value) Set an import field/parameter of type integer- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getLongLong getLong(String name) Get the value of a field/parameter as Long- Parameters:
- name- name of the field/parameter
- Returns:
- value of the field/parameter
 
 - 
setLongvoid setLong(String name, Long value) Set the value of a field/parameter as Long- Parameters:
- name- name of the field/parameter
- value- value of the field/parameter
 
 - 
getShortShort getShort(String name) Get the value of a field/parameter as Short- Parameters:
- name- name of the field/parameter
- Returns:
- value of the field/parameter
 
 - 
setShortvoid setShort(String name, Short value) Set the value of a field/parameter as Short- Parameters:
- name- name of the field/parameter
- value- value of the field/parameter
 
 - 
getByteByte getByte(String name) Get the value of a field/parameter as Byte- Parameters:
- name- name of the field/parameter
- Returns:
- value of the field/parameter
 
 - 
setBytevoid setByte(String name, Byte value) Set the value of a field/parameter as Byte- Parameters:
- name- name of the field/parameter
- value- value of the field/parameter
 
 - 
getDateDate getDate(String name) Get the value of a field/parameter of type DATE- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setDatevoid setDate(String name, Date value) Set the value of a field/parameter of type DATE- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getTimeDate getTime(String name) Get the value of a field/parameter of type TIME- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setTimevoid setTime(String name, Date value) Set the value of a field/parameter of type TIME- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getBigDecimalBigDecimal getBigDecimal(String name) Get the value of a field/parameter of type BigDecimal- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setBigDecimalvoid setBigDecimal(String name, BigDecimal value) Set the value of a field/parameter of type BigDecimal- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getBigIntegerBigInteger getBigInteger(String name) Get the value of a field/parameter of type BigInteger- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setBigIntegervoid setBigInteger(String name, BigInteger value) Set the value of a field/parameter of type BigInteger- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getCharArraychar[] getCharArray(String name) Get the value of a field/parameter of type CHAR[]- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setCharArrayvoid setCharArray(String name, char[] value) Set the value of a field/parameter of type CHAR[]- Parameters:
- name- name of the field/parameter to set
- value- value of the parameter
 
 - 
getByteArraybyte[] getByteArray(String name) Get the value of a field/parameter as byte array- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setByteArrayvoid setByteArray(String name, byte[] value) Set the value of a field/parameter as a byte array- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getRawByteArraybyte[] getRawByteArray(String name) Get the value of a field/parameter of type RAW It assumes that the value is returned by SAP as a hex string- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 - 
setRawByteArrayvoid setRawByteArray(String name, byte[] value) Set the value of a field/parameter of type RAW It assumes that the value is expected by SAP as a hex string- Parameters:
- name- name of the field/parameter to set
- value- value of the field/parameter
 
 - 
getStructureRfcStructure getStructure(String name) Get an import/export structure Calling this method BEFORE executing the function module is required for getting and/or setting structure values- Parameters:
- name- of the structure
- Returns:
- import/export structure
 
 - 
getTable<T extends RfcStructure> RfcTable<T> getTable(String name) Get an import/export table Calling this method BEFORE executing the function module is required for getting and/or setting table values- Parameters:
- name- name of the table
- Returns:
- import/export table
 
 - 
getMetadataMap<String,RfcSapFieldMetadata> getMetadata() This method returns Meta data of the interface- Returns:
- Meta data of the interface
 
 - 
toXmlvoid toXml(OutputStream output) This method writes xml presentation of the function module to given stream- Parameters:
- output- Stream for xml output
 
 - 
isAttachedboolean isAttached() This method can be used to find out this RfcObject detached or attached- Returns:
- trueif RfcObject is connected to JCO
 
 - 
getFieldObject getField(String name) Get the value of a field/parameter of any type- Parameters:
- name- name of the field/parameter to get
- Returns:
- value of the field/parameter
 
 
- 
 
-