electric.wsdl
Class Part

java.lang.Object
  extended byelectric.wsdl.Part
All Implemented Interfaces:
IWSDLConstants

public final class Part
extends java.lang.Object
implements IWSDLConstants

Part

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.wsdl.IWSDLConstants
ADDRESS, BINDING, DEFINITIONS, DESCRIPTION, DOCUMENT, DOCUMENTATION, ELEMENT, ENCODED, ENCODING_STYLE, ENDPOINT, FAULT, FAULT_DETAIL, GET, GETPOST, HTTP, INPUT, LITERAL, LOCATION, MESSAGE, METHOD_NAMESPACE, MIME, NAME, NAMESPACE, OPERATION, OUTPUT, PARAMETER_ORDER, PARAMETERS, PART, PORT, PORT_TYPE, POST, RPC, SERVICE, SOAP, SOAP_ACTION, STYLE, TARGET_NAMESPACE, TARGET_NAMESPACE_PREFIX, TNS, TRANSPORT, TYPE, USE, VERB, WSDL_EXTENSION, WSDL_NAMESPACE, WSDL_PREFIX, WSDL_SOAP_NAMESPACE, WSDL_SOAP_PREFIX, WSDL_SOAP11_NAMESPACE, WSDL_SOAP11_PREFIX, WSDL_SOAP12_NAMESPACE, WSDL_SOAP12_PREFIX
 
Constructor Summary
Part(Message message, Element part)
           
Part(java.lang.String name, SchemaElement element, java.lang.String documentation)
           
Part(java.lang.String name, Type type, java.lang.String documentation)
           
 
Method Summary
 java.lang.String getDocumentation()
           
 Type getImplicitType()
          Return the underlying type of the part.
 Message getMessage()
           
 java.lang.String getName()
           
 SchemaElement getSchemaElement()
           
 Type getType()
           
 void setMessage(Message message)
           
 void setType(Type type)
           
 java.lang.String toString()
           
 void writeWSDL(Element message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Part

public Part(Message message,
            Element part)
     throws WSDLException,
            SchemaException
Parameters:
message -
part -
Throws:
WSDLException
SchemaException

Part

public Part(java.lang.String name,
            Type type,
            java.lang.String documentation)
     throws SchemaException
Parameters:
name -
type -
documentation -

Part

public Part(java.lang.String name,
            SchemaElement element,
            java.lang.String documentation)
     throws SchemaException
Parameters:
name -
element -
documentation -
Method Detail

toString

public java.lang.String toString()

getName

public java.lang.String getName()

getDocumentation

public java.lang.String getDocumentation()
Returns:

getMessage

public Message getMessage()

setMessage

public void setMessage(Message message)
Parameters:
message -

getType

public Type getType()

getImplicitType

public Type getImplicitType()
                     throws SchemaException
Return the underlying type of the part. Just a shortcut to avoid having to check both the type and element attributes every time.

Returns:
the implicit type of the part.
Throws:
SchemaException

setType

public void setType(Type type)
Parameters:
type -

getSchemaElement

public SchemaElement getSchemaElement()

writeWSDL

public void writeWSDL(Element message)
Parameters:
message -


copyright© 2001-2004 by webMethods All Rights Reserved.