|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ws4d.java.types.AttributableSupport org.ws4d.java.wsdl.WSDLOperation
public class WSDLOperation
Implementation of the WSDL 1.1 Operation.
WSDL 1.1, 2.4ff
Field Summary | |
---|---|
static int |
TYPE_NOTIFICATION
|
static int |
TYPE_ONE_WAY
|
static int |
TYPE_REQUEST_RESPONSE
|
static int |
TYPE_SOLICIT_RESPONSE
|
static int |
TYPE_UNKNOWN
|
Constructor Summary | |
---|---|
WSDLOperation()
Create an empty WSDL operation with a name set to null . |
|
WSDLOperation(java.lang.String name)
|
Method Summary | |
---|---|
void |
addFault(IOType fault)
|
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()
|
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)
|
void |
setType(int type)
|
java.lang.String |
toString()
|
static java.lang.String |
typeToString(int operationType)
|
Methods inherited from class org.ws4d.java.types.AttributableSupport |
---|
equals, getAttribute, getAttributes, hasAttributes, hashCode, serializeAttributes, setAttribute |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public WSDLOperation()
null
.
public WSDLOperation(java.lang.String name)
name
- Method Detail |
---|
public static java.lang.String typeToString(int operationType)
public java.lang.String toString()
toString
in class AttributableSupport
public void setAttribute(QName name, CustomAttributeValue value)
Attributable
value
for the attribute with the specified
name
. Throws a
java.lang.IllegalArgumentException
in case name
is null
.
setAttribute
in interface Attributable
setAttribute
in class AttributableSupport
name
- the name of the attribute to set, must not be
null
value
- the value to set the named attribute to (may be
null
public void setAttributes(HashMap attributes)
Attributable
attributes
. 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 Attributable
setAttributes
in class AttributableSupport
attributes
- 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 assumed
public 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 assumed
null
public java.lang.String getInputName()
null
public java.lang.String getOutputName()
null
public 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 assumed
null
public void addFault(IOType fault)
fault
- the fault to addpublic WSDLPortType getPortType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |