Transports and Interfaces: Siebel Enterprise Application Integration > Integrating Siebel Business Applications with Java Applications > About the Siebel Code Generator >

About Methods of Java Classes Generated for a Business Service


Table 24, Table 25, and Table 26 describe methods that are present in the generated Java code for every business service. Generic names (for example, GenericService and GenericMethod) are substituted for the actual names of the business service, methods, and arguments.

Table 24 lists methods of the Java class com.siebel.service.jdb.GenericServiceBusServAdapter generated for an example business service, GenericService, having the business service method GenericMethod.

Table 24. Java Class com.siebel.service.jdb.GenericServiceBusServAdapter Methods Generated
Method
Description

GenericServiceBusServAdapter()

Constructor that uses the default properties file, siebel.properties.

GenericServiceBusServAdapter(SiebelDataBean)

Constructor that reuses the resources of an existing SiebelDataBean.

GenericServiceBusServAdapter(String)

Constructor taking the name of the properties file to use.

GenericServiceBusServAdapter(String, String, String)

Constructor taking the username, password, and connect string.

GenericServiceBusServAdapter(String, String, String, String)

Constructor taking the username, password, connect string, and language.

GenericMethod(GenericMethodInput)

Invokes the specified business service method.

Table 25 lists methods of the Java class com.siebel.service.jdb.GenericMethodInput generated for an example business service method, GenericMethod.

Table 25. Java Class com.siebel.service.jdb.GenericMethodInput Methods Generated
Method
Description

GenericMethodInput()

Constructor.

GenericMethodInput(SiebelPropertySet)

Constructor that sets its fields from the given property set.

fromPropertySet(SiebelPropertySet)

Copies field values from the given property set.

toPropertySet()

Returns a SiebelPropertySet with the properties and values corresponding to the fields of this object.

getfGenericArgument()

Returns the value of business service method argument.

setfGenericArgument(String)

Sets the value of a business service method argument.

Table 26 lists methods of the Java class com.siebel.service.jdb.GenericMethodOutput generated for an example business service method, GenericMethod.

Table 26. Java class com.siebel.service.jdb.GenericMethodOutput Methods Generated
Method
Description

GenericMethodOutput()

Constructor.

GenericMethodOutput(SiebelPropertySet)

Constructor that sets its fields from the given property set.

fromPropertySet(SiebelPropertySet)

Copies field values from the given property set.

toPropertySet()

Returns a SiebelPropertySet with the properties and values corresponding to the fields of this object.

getfGenericArgument ()

Returns the value of business service method argument.

setfGenericArgument ()

Sets the value of a business service method argument.

Transports and Interfaces: Siebel Enterprise Application Integration Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.