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, 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 |
InterfaceInfo
public InterfaceInfo(ServiceInfo info,
javax.xml.namespace.QName q)
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.
Apache CXF