IBM WebSphere Adapters User Manual page 126

Version 6 release 2
Table of Contents

Advertisement

These interfaces may contain more helper methods than are listed here, please see
the Javadoc for the additional helpers.
Factory classes
Class TypeFactory:
TypeFactory creates an instance of an implementation of Type. The TypeFactory is
also capable of detecting whether SDO version 2, SDO version 1, or neither is
present in the classpath, allowing it to make decisions about what implementation
to use.
v Type getType(Object object)
v Type getType(String namespace, String name)
Class SDOFactory:
SDOFactory creates an SDO instance, the implementation of which will depend on
what version of SDO is in the classpath.
v DataObject createDataObject(String namespace, String name)
v DataObject createDataObject(Type type)
Interfaces
Interface Type:
The interface type allows access to object-level metadata, including properties,
object-level annotations and key properties.
String getName()
Retuns the name of the type.
Iterator getPropertyIterator()
Returns an iterator to allow iteraton over the properties in this type.
List getProperties()
Returns a list of properties for this type.
120
WebSphere Adapters: WebSphere Adapter Toolkit User Guide
Gets a Type object from existing metadata.
Gets a Type object from a namespace, name combination. For a JavaBeans
metadata implementation, the namespace is the package and the name is the
class name.
Creates the data object based on the namespace and name.
Creates the data object based on an instance of Type

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Websphere adapter toolkit

Table of Contents