Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.adfinternal.model.adapter.webservice
Class MessagePart

java.lang.Object
  extended by oracle.adfinternal.model.adapter.webservice.MessagePart

public class MessagePart
extends java.lang.Object

MessagePart represents the structure of the SOAP operation part. Message part could be simple, with simple data types or complex. Complex part have a nested structure of simple parts.

Nested Structures are defined by oracle.binding.meta.StrucutureDefinition


Field Summary
static java.lang.String ARRAY_ITEM
           
 
Constructor Summary
MessagePart(java.lang.String name)
          Create a new Message part.
MessagePart(java.lang.String name, java.lang.String parentName, oracle.webservices.mdds.Prototype partPrototype)
          Create this Messagepart instance.
MessagePart(java.lang.String name, java.lang.String parentName, oracle.webservices.mdds.Prototype partPrototype, java.util.Set colSet, java.lang.String xmlNS)
           
 
Method Summary
 boolean addComplexType(AccessorDef def)
          Adds the accessor for the type to a structor definition if the part is a complex type.
 java.util.Set getCollectionSet()
           
 java.lang.String getName()
          Get the name of the message part
 ParamDef getParameterDefintion(java.lang.String rootName)
          Create the JSR 227 ParameterDefinition for this Message part.
 void setTypeMap(Types types)
          Sets the maps of the structures of the types defined for this service definition (WSDL).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARRAY_ITEM

public static java.lang.String ARRAY_ITEM
Constructor Detail

MessagePart

public MessagePart(java.lang.String name)
Create a new Message part.

Parameters:
name - Name of the message part

MessagePart

public MessagePart(java.lang.String name,
                   java.lang.String parentName,
                   oracle.webservices.mdds.Prototype partPrototype,
                   java.util.Set colSet,
                   java.lang.String xmlNS)

MessagePart

public MessagePart(java.lang.String name,
                   java.lang.String parentName,
                   oracle.webservices.mdds.Prototype partPrototype)
Create this Messagepart instance.

Parameters:
name - The name of this message part
parentName - The name of the parent container for this part. The parent container can be a method or a higher level part incase of a complex / collection part.
partPrototype - The prototype of this part. A prototype of the part defines the type of the part. The type can be a simple java type or a complex schema construct as defined in the schema.
Method Detail

getName

public java.lang.String getName()
Get the name of the message part

Returns:
The name of the message part

getParameterDefintion

public ParamDef getParameterDefintion(java.lang.String rootName)
                               throws AdapterException
Create the JSR 227 ParameterDefinition for this Message part.

Parameters:
rootName - name of the root.
Throws:
{@link - AdapterException} if the ParameterDefinition cannot be created.
AdapterException

addComplexType

public boolean addComplexType(AccessorDef def)
Adds the accessor for the type to a structor definition if the part is a complex type. For simple part type it does nothing.

Parameters:
def - structure that will contain the type accessor.
Returns:
true if the accessor is added to the struture.

setTypeMap

public void setTypeMap(Types types)
Sets the maps of the structures of the types defined for this service definition (WSDL).

Parameters:
types - object that stores structure definitions with the key as the type names.

getCollectionSet

public java.util.Set getCollectionSet()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

Copyright © 1997, 2011, Oracle. All rights reserved.