public class WSDLOperation extends AttributableSupport
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_NOTIFICATION |
static int |
TYPE_ONE_WAY |
static int |
TYPE_REQUEST_RESPONSE |
static int |
TYPE_SOLICIT_RESPONSE |
static int |
TYPE_UNKNOWN |
attributes| Constructor and Description |
|---|
WSDLOperation()
Create an empty WSDL operation with a name set to
null. |
WSDLOperation(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFault(IOType fault) |
boolean |
equals(java.lang.Object obj) |
IOType |
getFault(java.lang.String name) |
HashMap |
getFaultActions() |
WSDLMessage |
getFaultMessage(java.lang.String name) |
DataStructure |
getFaultMessages() |
DataStructure |
getFaultParts(java.lang.String faultName)
Returns a data structure of
WSDLMessagePart instances describing the parts of this
operation's named fault message. |
DataStructure |
getFaults() |
IOType |
getInput() |
java.lang.String |
getInputAction()
Returns the WS-Addressing action URI for the input of this operation if any.
|
WSDLMessage |
getInputMessage() |
java.lang.String |
getInputName() |
DataStructure |
getInputParts()
Returns a data structure of
WSDLMessagePart instances describing the parts of this
operation's input message. |
java.lang.String |
getName() |
java.lang.String |
getNamespace()
Returns the namespace within which this operation resides.
|
IOType |
getOutput() |
java.lang.String |
getOutputAction()
Returns the WS-Addressing action URI for the output of this operation if any.
|
WSDLMessage |
getOutputMessage() |
java.lang.String |
getOutputName() |
DataStructure |
getOutputParts()
Returns a data structure of
WSDLMessagePart instances describing the parts of this
oepration's output message. |
WSDLPortType |
getPortType() |
int |
getType() |
java.lang.String |
getTypeAsString() |
WSDL |
getWsdl() |
int |
hashCode() |
boolean |
isBidirectional()
Returns
true only if this operation's transmission type is
either request-response or solicit-response. |
boolean |
isEvented() |
boolean |
isRequest() |
void |
setAttribute(QName name,
CustomAttributeValue value)
Sets the
value for the attribute with the specified name. |
void |
setAttributes(HashMap attributes)
Sets all attributes at once to those contained within argument
attributes. |
void |
setInput(IOType input) |
void |
setName(java.lang.String name) |
void |
setOutput(IOType output) |
protected void |
setPortType(WSDLPortType portType) |
void |
setType(int type) |
java.lang.String |
toString() |
static java.lang.String |
typeToString(int operationType) |
getAttribute, getAttributes, hasAttributes, serializeAttributes, setAttributepublic static final int TYPE_UNKNOWN
public static final int TYPE_ONE_WAY
public static final int TYPE_REQUEST_RESPONSE
public static final int TYPE_SOLICIT_RESPONSE
public static final int TYPE_NOTIFICATION
public WSDLOperation()
null.public WSDLOperation(java.lang.String name)
name - public static java.lang.String typeToString(int operationType)
public java.lang.String toString()
toString in class AttributableSupportpublic void setAttribute(QName name, CustomAttributeValue value)
Attributablevalue for the attribute with the specified name. Throws a
java.lang.IllegalArgumentException in case name is null.setAttribute in interface AttributablesetAttribute in class AttributableSupportname - the name of the attribute to set, must not be nullvalue - the value to set the named attribute to (may be nullpublic void setAttributes(HashMap attributes)
Attributableattributes. Note
that depending on the actual implementation it is possible that the map attributes
points at may be used for the actual internal storage of the attributes (i.e. without copying
it). That is why, after passing it to this method, modifications to this map should be made
with care. This method throws a java.lang.IllegalArgumentException in cases where
attributes is null.setAttributes in interface AttributablesetAttributes in class AttributableSupportattributes - the new attributes to setpublic WSDL getWsdl()
public DataStructure getInputParts()
WSDLMessagePart instances describing the parts of this
operation's input message.public DataStructure getOutputParts()
WSDLMessagePart instances describing the parts of this
oepration's output message.public DataStructure getFaultParts(java.lang.String faultName)
WSDLMessagePart instances describing the parts of this
operation's named fault message.faultName - the local name of the requested fault; a namespace equal to this operation's namespace is assumedpublic WSDLMessage getInputMessage()
public WSDLMessage getOutputMessage()
public DataStructure getFaultMessages()
public WSDLMessage getFaultMessage(java.lang.String name)
name - the local name of the fault of which to return the message; a namespace equal to this operation's
namespace is assumednullpublic java.lang.String getInputName()
nullpublic java.lang.String getOutputName()
nullpublic java.lang.String getNamespace()
null otherwise.null if port type not setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic int getType()
public void setType(int type)
type - the type to setpublic java.lang.String getTypeAsString()
public boolean isRequest()
public boolean isEvented()
public boolean isBidirectional()
true only if this operation's transmission type is
either request-response or solicit-response.public java.lang.String getInputAction()
public java.lang.String getOutputAction()
public HashMap getFaultActions()
public IOType getInput()
public void setInput(IOType input)
input - the input to setpublic IOType getOutput()
public void setOutput(IOType output)
output - the output to setpublic DataStructure getFaults()
public IOType getFault(java.lang.String name)
name - the local name of the fault to return; a namespace equal to this operation's namespace is assumednullpublic void addFault(IOType fault)
fault - the fault to addpublic WSDLPortType getPortType()
protected void setPortType(WSDLPortType portType)
portType - the portType to setpublic boolean equals(java.lang.Object obj)
equals in class AttributableSupportpublic int hashCode()
hashCode in class AttributableSupport