|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.mw.jco.JCO.Attributes
Attributes is a class which holds a number of attributes of a connection, such as codepage information, system information of the partner, etc.
| Field Summary | |
protected String |
client
|
protected String |
CPIC_convid
|
protected String |
dest
|
protected String |
ISO_language
|
protected String |
kernel_rel
|
protected String |
language
|
protected byte |
own_bytes_per_char
|
protected String |
own_charset
|
protected String |
own_codepage
|
protected String |
own_encoding
|
protected String |
own_host
|
protected String |
own_rel
|
protected char |
own_type
|
protected byte |
partner_bytes_per_char
|
protected String |
partner_charset
|
protected String |
partner_codepage
|
protected String |
partner_encoding
|
protected String |
partner_host
|
protected String |
partner_rel
|
protected int |
partner_rel_number
|
protected char |
partner_type
|
protected char |
rfc_role
|
protected String |
sso_ticket
|
protected String |
sysid
|
protected String |
systnr
|
protected char |
trace
|
protected String |
user
|
| Constructor Summary | |
protected |
JCO.Attributes()
This class is never instantiated directly |
| Method Summary | |
String |
getClient()
Retrieves the SAP client field from the attributes |
String |
getCPICConversationID()
Retrieves the low-level CPIC conversion ID for a connection |
String |
getDestination()
Retrieves the dest field of the connection attributes |
String |
getHost()
Retrieves host field of the attributes, i.e. the name of the local host |
String |
getISOLanguage()
Retrieves the logon language field of the connection attributes and returns it as a two-byte character string. |
String |
getKernelRelease()
Retrieves the release of the remote SAP system's kernel |
String |
getLanguage()
Retrieves the logon language field of the connection attributes and returns it as a one-byte character string. |
int |
getOwnBytesPerChar()
Returns the number of bytes per character for the currently used local codepage. |
String |
getOwnCharset()
Retrieves the Java charset equivalent of the local SAP codepage. |
String |
getOwnCodepage()
Retrieves the local codepage in SAP notation. |
String |
getOwnEncoding()
Retrieves the MIME encoding equivalent of the local SAP codepage. |
int |
getPartnerBytesPerChar()
Returns the number of bytes per character for the currently used remote codepage. |
String |
getPartnerCharset()
Retrieves the Java charset equivalent of the codepage used by the remote system. |
String |
getPartnerCodepage()
Retrieves the codepage used by the remote system in SAP notation. |
String |
getPartnerEncoding()
Retrieves the MIME encoding equivalent of the remote SAP codepage. |
String |
getPartnerHost()
Retrieves the partner host field of the attributes, i.e. the name of the remote host. |
String |
getPartnerRelease()
Retrieves the release of the remote SAP system |
protected int |
getPartnerReleaseNumber()
Returns the release number of the partner as an integer, e.g. |
char |
getPartnerType()
Retrieves the type which specifies the partner of the communication. |
String |
getRelease()
Retrieves the release of the local SAP system or transport library |
char |
getRfcRole()
Retrieves the rfc_role field which describes the role of the connection. |
String |
getSSOTicket()
Retrieves the sso_ticket field |
String |
getSystemID()
Retrieves the SAP system ID from the attributes |
String |
getSystemNumber()
Retrieves the SAP system number from the attributes |
boolean |
getTrace()
Retrieves the trace field of the attributes |
char |
getType()
Retrieves the type which specifies the local program. |
String |
getUser()
Retrieves the user ID field from the connection attributes, the name of the user the connection is associated with. |
String |
toString()
Converts the attributes into a string list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected String dest
protected String own_host
protected String partner_host
protected String systnr
protected String sysid
protected String client
protected String user
protected String language
protected String ISO_language
protected String own_codepage
protected String partner_codepage
protected String own_charset
protected String partner_charset
protected String own_encoding
protected String partner_encoding
protected byte own_bytes_per_char
protected byte partner_bytes_per_char
protected String own_rel
protected String partner_rel
protected String kernel_rel
protected char partner_type
protected char trace
protected char rfc_role
protected char own_type
protected String CPIC_convid
protected String sso_ticket
protected int partner_rel_number
| Constructor Detail |
protected JCO.Attributes()
| Method Detail |
public final String getDestination()
public final String getHost()
public final String getPartnerHost()
public final String getSystemID()
public final String getSystemNumber()
public final String getClient()
public final String getUser()
public final String getLanguage()
public final String getISOLanguage()
public final String getOwnCodepage()
public final String getOwnCharset()
public final String getOwnEncoding()
public final int getOwnBytesPerChar()
public final String getPartnerCodepage()
public final String getPartnerCharset()
public final String getPartnerEncoding()
public final int getPartnerBytesPerChar()
public final String getRelease()
public final String getPartnerRelease()
public final String getKernelRelease()
public final char getPartnerType()
Valid partner types are:
| Value | Description |
|---|---|
| '2' | R/2 |
| '3' | R/3 |
| 'E' | External Program |
| 'R' | Registered external program |
| 'F' | Shared memory pipe |
public final boolean getTrace()
public final char getRfcRole()
| Value | Description |
|---|---|
| 'C' | RFC Client |
| 'S' | RFC Server |
public final char getType()
Valid local system types are:
| Value | Description |
|---|---|
| '2' | R/2 |
| '3' | R/3 |
| 'E' | External Program |
| 'R' | Registered external program |
| 'F' | Shared memory pipe |
public final String getCPICConversationID()
public final String getSSOTicket()
protected final int getPartnerReleaseNumber()
| Number | Description |
|---|---|
| 0 | unknown |
| 200 | R/2 |
| 317 | R/3 3.1H |
| 400 | R/3 4.0A |
| 401 | R/3 4.0B |
| 450 | R/3 4.5A |
| 451 | R/3 4.5B |
| 461 | R/3 4.6B |
| 462 | R/3 4.6C |
| 610 | R/3 6.10 |
| 620 | R/3 6.20 |
public final String toString()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||