public class MessagePart
extends java.lang.Object
Nested Structures are defined by
oracle.binding.meta.StrucutureDefinition
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARRAY_ITEM |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
public MessagePart(java.lang.String name)
name - Name of the message partpublic MessagePart(java.lang.String name,
java.lang.String parentName,
oracle.webservices.mdds.Prototype partPrototype,
java.util.Set colSet,
java.lang.String xmlNS)
public MessagePart(java.lang.String name,
java.lang.String parentName,
oracle.webservices.mdds.Prototype partPrototype)
name - The name of this message partparentName - 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.public java.lang.String getName()
public ParamDef getParameterDefintion(java.lang.String rootName) throws AdapterException
JSR 227
ParameterDefinition for this Message part.rootName - name of the root.{@link - AdapterException} if the
ParameterDefinition cannot be created.AdapterExceptionpublic boolean addComplexType(AccessorDef def)
def - structure that will contain the type accessor.public void setTypeMap(Types types)
types - object that stores structure definitions with the key as the
type names.public java.util.Set getCollectionSet()