public class InterfaceInfo extends AbstractDescriptionElement implements NamedItem
Constructor and Description |
---|
InterfaceInfo(ServiceInfo info,
QName q) |
Modifier and Type | Method and Description |
---|---|
OperationInfo |
addOperation(QName oname)
Adds an operation to this service.
|
DescriptionInfo |
getDescription() |
QName |
getName() |
OperationInfo |
getOperation(QName oname)
Returns the operation info with the given name, if found.
|
Collection<OperationInfo> |
getOperations()
Returns all operations for this service.
|
ServiceInfo |
getService() |
void |
removeOperation(OperationInfo operation)
Removes an operation from this service.
|
void |
setName(QName n) |
addExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
public InterfaceInfo(ServiceInfo info, QName q)
public DescriptionInfo getDescription()
getDescription
in class AbstractDescriptionElement
public ServiceInfo getService()
public void setName(QName n)
public OperationInfo addOperation(QName oname)
oname
- the qualified name of the operation.public void removeOperation(OperationInfo operation)
operation
- the operation.public OperationInfo getOperation(QName oname)
oname
- the name.null
if not found.public Collection<OperationInfo> getOperations()
Copyright © 2016 JBoss by Red Hat. All rights reserved.