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 Summary
Constructors -
Method Summary
Modifier 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.AbstractPropertiesHolder
addExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
-
Constructor Details
-
OperationInfo
public OperationInfo()
-
-
Method Details
-
getName
Returns the name of the Operation. -
setName
Sets the name of the operation.- Parameters:
name- the new name of the operation
-
getInterface
-
createMessage
-
getOutput
-
getOutputName
-
setOutput
-
hasOutput
public boolean hasOutput() -
getInput
-
getInputName
-
setInput
-
hasInput
public boolean hasInput() -
isOneWay
public boolean isOneWay() -
isUnwrappedCapable
public boolean isUnwrappedCapable() -
getUnwrappedOperation
-
setUnwrappedOperation
-
isUnwrapped
public boolean isUnwrapped() -
addFault
Adds an fault to this operation.- Parameters:
name- the fault name.
-
addFault
Adds a fault to this operation.- Parameters:
fault- the fault.
-
removeFault
Removes a fault from this operation.- Parameters:
name- the qualified fault name.
-
getFault
Returns the fault with the given name, if found.- Parameters:
name- the name.- Returns:
- the fault; or
nullif not found.
-
hasFaults
public boolean hasFaults() -
getFaults
Returns all faults for this operation.- Returns:
- all faults.
-
setParameterOrdering
-
getParameterOrdering
-
toString
-
hashCode
public int hashCode() -
equals
-