public final class ErpSystemInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SUPPORTED_INTERFACE_VERSION
The maximum interface version that may be available in an ERP system.
|
static int |
MIN_SUPPORTED_INTERFACE_VERSION
The minimum interface version that may be available in an ERP system.
|
Map<SoftwareComponent,SoftwareComponentVersion> |
softwareComponentVersions
Software component versions.
|
Constructor and Description |
---|
ErpSystemInfo(int interfaceVersion,
ErpEdition erpEdition,
ErpRelease erpRelease,
DatabaseSystem databaseSystem,
String databaseSchema,
ErpSignature erpSignature,
SapClient sapClient,
String systemTimeZone,
String userTimeZone,
String userName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.base.Optional<String> |
getDatabaseSchema()
Name of the database schema in which queries are executed.
|
com.google.common.base.Optional<DatabaseSystem> |
getDatabaseSystem()
Database system of the ERP.
|
ErpEdition |
getErpEdition()
Edition of the ERP system.
|
com.google.common.base.Optional<ErpRelease> |
getErpRelease()
Release version of the ERP.
|
ErpSignature |
getErpSignature()
Indicates if, where (e.g.
|
int |
getInterfaceVersion()
Interface version of the generic ERP query module.
|
SapClient |
getSapClient()
SAP client to be used in queries against the ERP.
|
Map<SoftwareComponent,SoftwareComponentVersion> |
getSoftwareComponentVersions()
Software component versions.
|
com.google.common.base.Optional<String> |
getSystemTimeZone()
System time zone of the ERP system.
|
com.google.common.base.Optional<String> |
getUserName()
Name of the logged-on user in the ERP system.
|
com.google.common.base.Optional<String> |
getUserTimeZone()
User time zone of the ERP system.
|
int |
hashCode() |
void |
setSoftwareComponentVersions(Map<SoftwareComponent,SoftwareComponentVersion> softwareComponentVersions)
Software component versions.
|
String |
toString() |
public static final int MIN_SUPPORTED_INTERFACE_VERSION
public static final int MAX_SUPPORTED_INTERFACE_VERSION
public Map<SoftwareComponent,SoftwareComponentVersion> softwareComponentVersions
Important: Requires at least interface version 12.
public ErpSystemInfo(int interfaceVersion, @NonNull ErpEdition erpEdition, @Nullable ErpRelease erpRelease, @Nullable DatabaseSystem databaseSystem, @Nullable String databaseSchema, @NonNull ErpSignature erpSignature, @NonNull SapClient sapClient, @Nullable String systemTimeZone, @Nullable String userTimeZone, @Nullable String userName)
public com.google.common.base.Optional<ErpRelease> getErpRelease()
Important: Requires at least interface version 1.
public com.google.common.base.Optional<DatabaseSystem> getDatabaseSystem()
Important: Requires at least interface version 1.
public com.google.common.base.Optional<String> getDatabaseSchema()
Important: Requires at least interface version 1.
public com.google.common.base.Optional<String> getSystemTimeZone()
Important: Requires at least interface version 5.
public com.google.common.base.Optional<String> getUserTimeZone()
Important: Requires at least interface version 5.
public com.google.common.base.Optional<String> getUserName()
Important: Requires at least interface version 7.
@Generated(value="lombok") public Map<SoftwareComponent,SoftwareComponentVersion> getSoftwareComponentVersions()
Important: Requires at least interface version 12.
@Generated(value="lombok") public void setSoftwareComponentVersions(Map<SoftwareComponent,SoftwareComponentVersion> softwareComponentVersions)
Important: Requires at least interface version 12.
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public int getInterfaceVersion()
0
if no interface is available.@Generated(value="lombok") public ErpEdition getErpEdition()
@Generated(value="lombok") public ErpSignature getErpSignature()
@Generated(value="lombok") public SapClient getSapClient()
Copyright © 2017 SAP SE. All rights reserved.