Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.service.model
Class InterfaceInfo

    java.lang.Object
      org.apache.cxf.service.model.AbstractPropertiesHolder
          org.apache.cxf.service.model.AbstractDescriptionElement
              org.apache.cxf.service.model.InterfaceInfo

All Implemented Interfaces:
  Extensible, NamedItem

    public class InterfaceInfo

extends AbstractDescriptionElement
implements NamedItem

Constructor Summary
`InterfaceInfo(ServiceInfo info, javax.xml.namespace.QName q)`

Method Summary
`OperationInfo` | `addOperation(javax.xml.namespace.QName oname)` Adds an operation to this service.
`javax.xml.namespace.QName` | `getName()`
`OperationInfo` | `getOperation(javax.xml.namespace.QName oname)` Returns the operation info with the given name, if found.
`java.util.Collection<OperationInfo>` | `getOperations()` Returns all operations for this service.
`ServiceInfo` | `getService()`
`void` | `removeOperation(OperationInfo operation)` Removes an operation from this service.
`void` | `setName(javax.xml.namespace.QName n)`

Methods inherited from class org.apache.cxf.service.model.AbstractDescriptionElement
`getDescription, setDescription`

Methods inherited from class org.apache.cxf.service.model.AbstractPropertiesHolder
`addExtensionAttribute, addExtensor, containsExtensor, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperty, getProperty, getTraversedExtensor, hasProperty, setExtensionAttributes, setProperty`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### InterfaceInfo

    public InterfaceInfo(ServiceInfo info,
                         javax.xml.namespace.QName q)

Method Detail

### getService

    public ServiceInfo getService()

### setName

    public void setName(javax.xml.namespace.QName n)

### getName

    public javax.xml.namespace.QName getName()

  Specified by:
    `getName` in interface `NamedItem`

### addOperation

    public OperationInfo addOperation(javax.xml.namespace.QName oname)

  Adds an operation to this service.

  Parameters:
    `oname` - the qualified name of the operation.
  Returns:
    the operation.

### removeOperation

    public void removeOperation(OperationInfo operation)

  Removes an operation from this service.

  Parameters:
    `operation` - the operation.

### getOperation

    public OperationInfo getOperation(javax.xml.namespace.QName oname)

  Returns the operation info with the given name, if found.

  Parameters:
    `oname` - the name.
  Returns:
    the operation; or `null` if not found.

### getOperations

    public java.util.Collection<OperationInfo> getOperations()

  Returns all operations for this service.

  Returns:
    all operations.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF