IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.bo
Interface BOTypeMetadata


public interface BOTypeMetadata

The BOTypeMetadata interface represents the client programming model interface for the BOTypeMetadata service. The BOTypeMetadata service provides the ability to transform an annotation String into a Business Object and a Business Object back to an annotation String.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 commonj.sdo.DataObject transformAnnotationToDataObject(java.lang.String annotationString)
          Returns the Business Object deserialized from the value of the annotation.
 java.lang.String transformDataObjectToAnnotation(commonj.sdo.DataObject dataObject)
          Serializes the DataObject into an XML Schema annotation value and retuns the annotation as a string.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

transformAnnotationToDataObject

commonj.sdo.DataObject transformAnnotationToDataObject(java.lang.String annotationString)
                                                       throws java.io.IOException
Returns the Business Object deserialized from the value of the annotation.

Parameters:
annotationString - The annotation String
Returns:
The Business Object
Throws:
java.io.IOException

transformDataObjectToAnnotation

java.lang.String transformDataObjectToAnnotation(commonj.sdo.DataObject dataObject)
                                                 throws java.io.IOException
Serializes the DataObject into an XML Schema annotation value and retuns the annotation as a string.

Parameters:
dataObject - The Business Object
Returns:
The annotation string
Throws:
java.io.IOException

IBM WebSphere Application ServerTM
Release 8