Apache CXF API

org.apache.cxf.service.model
Class OperationInfo

java.lang.Object
  extended by org.apache.cxf.service.model.AbstractPropertiesHolder
      extended by org.apache.cxf.service.model.OperationInfo
Direct Known Subclasses:
UnwrappedOperationInfo

public class OperationInfo
extends AbstractPropertiesHolder


Constructor Summary
OperationInfo()
           
 
Method Summary
 FaultInfo addFault(javax.xml.namespace.QName name, javax.xml.namespace.QName message)
          Adds an fault to this operation.
 MessageInfo createMessage(javax.xml.namespace.QName nm)
           
 FaultInfo getFault(javax.xml.namespace.QName name)
          Returns the fault with the given name, if found.
 java.util.Collection<FaultInfo> getFaults()
          Returns all faults for this operation.
 MessageInfo getInput()
           
 java.lang.String getInputName()
           
 InterfaceInfo getInterface()
           
 javax.xml.namespace.QName getName()
          Returns the name of the Operation.
 MessageInfo getOutput()
           
 java.lang.String getOutputName()
           
 OperationInfo getUnwrappedOperation()
           
 boolean hasInput()
           
 boolean hasOutput()
           
 boolean isOneWay()
           
 boolean isUnwrapped()
           
 boolean isUnwrappedCapable()
           
 void removeFault(javax.xml.namespace.QName name)
          Removes a fault from this operation.
 void setInput(java.lang.String nm, MessageInfo in)
           
 void setName(javax.xml.namespace.QName name)
          Sets the name of the operation.
 void setOutput(java.lang.String nm, MessageInfo out)
           
 void setUnwrappedOperation(OperationInfo op)
           
 
Methods inherited from class org.apache.cxf.service.model.AbstractPropertiesHolder
addExtensor, getExtensor, getExtensors, getExtensors, getProperty, getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationInfo

public OperationInfo()
Method Detail

getName

public javax.xml.namespace.QName getName()
Returns the name of the Operation.

Returns:
the name of the Operation

setName

public final void setName(javax.xml.namespace.QName name)
Sets the name of the operation.

Parameters:
name - the new name of the operation

getInterface

public InterfaceInfo getInterface()

createMessage

public MessageInfo createMessage(javax.xml.namespace.QName nm)

getOutput

public MessageInfo getOutput()

getOutputName

public java.lang.String getOutputName()

setOutput

public void setOutput(java.lang.String nm,
                      MessageInfo out)

hasOutput

public boolean hasOutput()

getInput

public MessageInfo getInput()

getInputName

public java.lang.String getInputName()

setInput

public void setInput(java.lang.String nm,
                     MessageInfo in)

hasInput

public boolean hasInput()

isOneWay

public boolean isOneWay()

isUnwrappedCapable

public boolean isUnwrappedCapable()

getUnwrappedOperation

public OperationInfo getUnwrappedOperation()

setUnwrappedOperation

public void setUnwrappedOperation(OperationInfo op)

isUnwrapped

public boolean isUnwrapped()

addFault

public FaultInfo addFault(javax.xml.namespace.QName name,
                          javax.xml.namespace.QName message)
Adds an fault to this operation.

Parameters:
name - the fault name.

removeFault

public void removeFault(javax.xml.namespace.QName name)
Removes a fault from this operation.

Parameters:
name - the qualified fault name.

getFault

public FaultInfo getFault(javax.xml.namespace.QName name)
Returns the fault with the given name, if found.

Parameters:
name - the name.
Returns:
the fault; or null if not found.

getFaults

public java.util.Collection<FaultInfo> getFaults()
Returns all faults for this operation.

Returns:
all faults.

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.