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");
Last updated: Thu Apr 27 15:50:14 2006
(c) Copyright IBM Corporation 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)