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
-
Method Summary
Modifier and TypeMethodDescriptionAdds an fault to this operation.void
Adds a fault to this operation.createMessage
(QName nm, MessageInfo.Type type) boolean
Returns the fault with the given name, if found.Returns all faults for this operation.getInput()
getName()
Returns the name of the Operation.boolean
int
hashCode()
boolean
hasInput()
boolean
boolean
isOneWay()
boolean
boolean
void
removeFault
(QName name) Removes a fault from this operation.void
setInput
(String nm, MessageInfo in) final void
Sets the name of the operation.void
setOutput
(String nm, MessageInfo out) void
void
toString()
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
null
if not found.
-
hasFaults
public boolean hasFaults() -
getFaults
Returns all faults for this operation.- Returns:
- all faults.
-
setParameterOrdering
-
getParameterOrdering
-
toString
-
hashCode
public int hashCode() -
equals
-