Package org.apache.cxf.service.model
Class OperationInfo
- java.lang.Object
- 
- org.apache.cxf.service.model.AbstractPropertiesHolder
- 
- org.apache.cxf.service.model.OperationInfo
 
 
- 
- All Implemented Interfaces:
- Extensible,- NamedItem
 - Direct Known Subclasses:
- UnwrappedOperationInfo
 
 public class OperationInfo extends AbstractPropertiesHolder implements NamedItem 
- 
- 
Constructor SummaryConstructors Constructor Description OperationInfo()
 - 
Method Summary- 
Methods inherited from class org.apache.cxf.service.model.AbstractPropertiesHolderaddExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
getNamepublic QName getName() Returns the name of the Operation.
 - 
setNamepublic final void setName(QName name) Sets the name of the operation.- Parameters:
- name- the new name of the operation
 
 - 
getInterfacepublic InterfaceInfo getInterface() 
 - 
createMessagepublic MessageInfo createMessage(QName nm, MessageInfo.Type type) 
 - 
getOutputpublic MessageInfo getOutput() 
 - 
getOutputNamepublic String getOutputName() 
 - 
setOutputpublic void setOutput(String nm, MessageInfo out) 
 - 
hasOutputpublic boolean hasOutput() 
 - 
getInputpublic MessageInfo getInput() 
 - 
getInputNamepublic String getInputName() 
 - 
setInputpublic void setInput(String nm, MessageInfo in) 
 - 
hasInputpublic boolean hasInput() 
 - 
isOneWaypublic boolean isOneWay() 
 - 
isUnwrappedCapablepublic boolean isUnwrappedCapable() 
 - 
getUnwrappedOperationpublic OperationInfo getUnwrappedOperation() 
 - 
setUnwrappedOperationpublic void setUnwrappedOperation(OperationInfo op) 
 - 
isUnwrappedpublic boolean isUnwrapped() 
 - 
addFaultpublic FaultInfo addFault(QName name, QName message) Adds an fault to this operation.- Parameters:
- name- the fault name.
 
 - 
addFaultpublic void addFault(FaultInfo fault) Adds a fault to this operation.- Parameters:
- fault- the fault.
 
 - 
removeFaultpublic void removeFault(QName name) Removes a fault from this operation.- Parameters:
- name- the qualified fault name.
 
 - 
getFaultpublic FaultInfo getFault(QName name) Returns the fault with the given name, if found.- Parameters:
- name- the name.
- Returns:
- the fault; or nullif not found.
 
 - 
hasFaultspublic boolean hasFaults() 
 - 
getFaultspublic Collection<FaultInfo> getFaults() Returns all faults for this operation.- Returns:
- all faults.
 
 
- 
 
-