public class OperationInfo extends AbstractPropertiesHolder implements NamedItem
Constructor and Description |
---|
OperationInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addFault(FaultInfo fault)
Adds a fault to this operation.
|
FaultInfo |
addFault(QName name,
QName message)
Adds an fault to this operation.
|
MessageInfo |
createMessage(QName nm,
MessageInfo.Type type) |
boolean |
equals(Object o) |
FaultInfo |
getFault(QName name)
Returns the fault with the given name, if found.
|
Collection<FaultInfo> |
getFaults()
Returns all faults for this operation.
|
MessageInfo |
getInput() |
String |
getInputName() |
InterfaceInfo |
getInterface() |
QName |
getName()
Returns the name of the Operation.
|
MessageInfo |
getOutput() |
String |
getOutputName() |
List<String> |
getParameterOrdering() |
OperationInfo |
getUnwrappedOperation() |
boolean |
hasFaults() |
int |
hashCode() |
boolean |
hasInput() |
boolean |
hasOutput() |
boolean |
isOneWay() |
boolean |
isUnwrapped() |
boolean |
isUnwrappedCapable() |
void |
removeFault(QName name)
Removes a fault from this operation.
|
void |
setInput(String nm,
MessageInfo in) |
void |
setName(QName name)
Sets the name of the operation.
|
void |
setOutput(String nm,
MessageInfo out) |
void |
setParameterOrdering(List<String> o) |
void |
setUnwrappedOperation(OperationInfo op) |
String |
toString() |
addExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
public QName getName()
public final void setName(QName name)
name
- the new name of the operationpublic InterfaceInfo getInterface()
public MessageInfo createMessage(QName nm, MessageInfo.Type type)
public MessageInfo getOutput()
public String getOutputName()
public void setOutput(String nm, MessageInfo out)
public boolean hasOutput()
public MessageInfo getInput()
public String getInputName()
public void setInput(String nm, MessageInfo in)
public boolean hasInput()
public boolean isOneWay()
public boolean isUnwrappedCapable()
public OperationInfo getUnwrappedOperation()
public void setUnwrappedOperation(OperationInfo op)
public boolean isUnwrapped()
public FaultInfo addFault(QName name, QName message)
name
- the fault name.public void addFault(FaultInfo fault)
fault
- the fault.public void removeFault(QName name)
name
- the qualified fault name.public FaultInfo getFault(QName name)
name
- the name.null
if not found.public boolean hasFaults()
public Collection<FaultInfo> getFaults()
Apache CXF