Package org.apache.cxf.service.model
Class UnwrappedOperationInfo
- java.lang.Object
-
- org.apache.cxf.service.model.AbstractPropertiesHolder
-
- org.apache.cxf.service.model.OperationInfo
-
- org.apache.cxf.service.model.UnwrappedOperationInfo
-
- All Implemented Interfaces:
Extensible,NamedItem
public class UnwrappedOperationInfo extends OperationInfo
-
-
Constructor Summary
Constructors Constructor Description UnwrappedOperationInfo(OperationInfo op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FaultInfoaddFault(QName name, QName message)Adds an fault to this operation.FaultInfogetFault(QName name)Returns the fault with the given name, if found.Collection<FaultInfo>getFaults()Returns all faults for this operation.OperationInfogetWrappedOperation()booleanisUnwrapped()voidsetInput(String nm, MessageInfo in)voidsetOutput(String nm, MessageInfo out)-
Methods inherited from class org.apache.cxf.service.model.OperationInfo
addFault, createMessage, equals, getInput, getInputName, getInterface, getName, getOutput, getOutputName, getParameterOrdering, getUnwrappedOperation, hasFaults, hashCode, hasInput, hasOutput, isOneWay, isUnwrappedCapable, removeFault, setName, setParameterOrdering, setUnwrappedOperation, 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 Detail
-
UnwrappedOperationInfo
public UnwrappedOperationInfo(OperationInfo op)
-
-
Method Detail
-
getWrappedOperation
public OperationInfo getWrappedOperation()
-
isUnwrapped
public boolean isUnwrapped()
- Overrides:
isUnwrappedin classOperationInfo
-
addFault
public FaultInfo addFault(QName name, QName message)
Description copied from class:OperationInfoAdds an fault to this operation.- Overrides:
addFaultin classOperationInfo- Parameters:
name- the fault name.
-
getFault
public FaultInfo getFault(QName name)
Description copied from class:OperationInfoReturns the fault with the given name, if found.- Overrides:
getFaultin classOperationInfo- Parameters:
name- the name.- Returns:
- the fault; or
nullif not found.
-
getFaults
public Collection<FaultInfo> getFaults()
Description copied from class:OperationInfoReturns all faults for this operation.- Overrides:
getFaultsin classOperationInfo- Returns:
- all faults.
-
setOutput
public void setOutput(String nm, MessageInfo out)
- Overrides:
setOutputin classOperationInfo
-
setInput
public void setInput(String nm, MessageInfo in)
- Overrides:
setInputin classOperationInfo
-
-