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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterfaceInfo
public InterfaceInfo(ServiceInfo info,
QName q)
getService
public ServiceInfo getService()
setName
public void setName(QName n)
getName
public QName getName()
- Specified by:
getName
in interface NamedItem
addOperation
public OperationInfo addOperation(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(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 Collection<OperationInfo> getOperations()
- Returns all operations for this service.
- Returns:
- all operations.
Apache CXF