This interface provides a mechanism to obtain the service data object (SDO) type of a business graph or business object that mirrors what Class.forName() provides for Java class names.
This is an example of providing an interface class that represents a statically typed SDO.
BOType typeService = (BOType) new ServiceManager().locateService("com/ibm/websphere/bo/BOType"); Type productType1 = typeService.getTypeByClass(com.scm.pc.model.Product.class);
This is an example of providing the target namespace and the complex type name.
BOType typeService = (BOType) new ServiceManager().locateService("com/ibm/websphere/bo/BOType"); Type productType2 = typeService.getType("http://www.scm.com/ProductTypes", "Product");
This is an example of providing the target namespace and the anonymous complex type element name.
BOType typeService = (BOType) new ServiceManager().locateService("com/ibm/websphere/bo/BOType"); Type productType3 = typeService.getTypeByElement("http://www.scm.com/Product", "product");
Parent topic: Programming interfaces
Related reference
BOChangeSummary
BOCopy
BODataObject
BOEquality
BOEventSummary
BOFactory
BOTypeMetadata
BOXMLDocument
BOXMLSerializer
Related information
Interface BOType APIs
Last updated: Tue Sep 20 03:22:36 2005
Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)