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
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds an fault to this operation.voidAdds a fault to this operation.createMessage(QName nm, MessageInfo.Type type) booleanReturns the fault with the given name, if found.Returns all faults for this operation.getInput()getName()Returns the name of the Operation.booleaninthashCode()booleanhasInput()booleanbooleanisOneWay()booleanbooleanvoidremoveFault(QName name) Removes a fault from this operation.voidsetInput(String nm, MessageInfo in) final voidSets the name of the operation.voidsetOutput(String nm, MessageInfo out) voidvoidtoString()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
- 
Constructor Details- 
OperationInfopublic OperationInfo()
 
- 
- 
Method Details- 
getNameReturns the name of the Operation.
- 
setNameSets the name of the operation.- Parameters:
- name- the new name of the operation
 
- 
getInterface
- 
createMessage
- 
getOutput
- 
getOutputName
- 
setOutput
- 
hasOutputpublic boolean hasOutput()
- 
getInput
- 
getInputName
- 
setInput
- 
hasInputpublic boolean hasInput()
- 
isOneWaypublic boolean isOneWay()
- 
isUnwrappedCapablepublic boolean isUnwrappedCapable()
- 
getUnwrappedOperation
- 
setUnwrappedOperation
- 
isUnwrappedpublic boolean isUnwrapped()
- 
addFaultAdds an fault to this operation.- Parameters:
- name- the fault name.
 
- 
addFaultAdds a fault to this operation.- Parameters:
- fault- the fault.
 
- 
removeFaultRemoves a fault from this operation.- Parameters:
- name- the qualified fault name.
 
- 
getFaultReturns the fault with the given name, if found.- Parameters:
- name- the name.
- Returns:
- the fault; or nullif not found.
 
- 
hasFaultspublic boolean hasFaults()
- 
getFaultsReturns all faults for this operation.- Returns:
- all faults.
 
- 
setParameterOrdering
- 
getParameterOrdering
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
 
-