Package org.apache.wsil
Interface Service
-
- All Superinterfaces:
java.io.Serializable
,WSILElement
,WSILElementWithAbstract
- All Known Implementing Classes:
ServiceImpl
public interface Service extends WSILElementWithAbstract
WS-Inspection service element.- Version:
- 1.0
- Author:
- Peter Brittenham
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDescription(Description description)
Add description element.void
addServiceName(ServiceName serviceName)
Add a service name.Description[]
getDescriptions()
Get description elements.ServiceName[]
getServiceNames()
Get service names.void
removeDescription(Description description)
Remove description element.void
removeServiceName(ServiceName serviceName)
Remove service name.-
Methods inherited from interface org.apache.wsil.WSILElement
toXMLString
-
Methods inherited from interface org.apache.wsil.WSILElementWithAbstract
addAbstract, addAbstracts, getAbstracts, removeAbstracts
-
-
-
-
Field Detail
-
ELEM_NAME
static final java.lang.String ELEM_NAME
Element name.- See Also:
- Constant Field Values
-
QNAME
static final QName QNAME
QName.
-
-
Method Detail
-
addServiceName
void addServiceName(ServiceName serviceName)
Add a service name.- Parameters:
serviceName
- the service name element to add
-
getServiceNames
ServiceName[] getServiceNames()
Get service names.- Returns:
- Returns an array of service names.
-
removeServiceName
void removeServiceName(ServiceName serviceName)
Remove service name.- Parameters:
serviceName
- the service name element to remove
-
addDescription
void addDescription(Description description)
Add description element.- Parameters:
description
- the description element to add
-
getDescriptions
Description[] getDescriptions()
Get description elements.- Returns:
- Returns an array of descriptions.
-
removeDescription
void removeDescription(Description description)
Remove description element.- Parameters:
description
- the description element to remove
-
-