Package org.apache.wsil.impl
Class ServiceImpl
java.lang.Object
org.apache.wsil.impl.WSILElementWithAbstractImpl
org.apache.wsil.impl.ServiceImpl
- All Implemented Interfaces:
Serializable
,Service
,WSILElement
,WSILElementWithAbstract
This class provides the support for the <service> element.
- Version:
- 1.0
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
abstracts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDescription
(Description description) Add description element.void
addServiceName
(ServiceName serviceName) Add service name.Get description elements.Get the service name.void
removeDescription
(Description description) Remove description element.void
removeServiceName
(ServiceName serviceName) Remove a service name.XML string representation of this object.Methods inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
addAbstract, addAbstracts, getAbstracts, removeAbstracts, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wsil.WSILElementWithAbstract
addAbstract, addAbstracts, getAbstracts, removeAbstracts
-
Field Details
-
serviceNames
Service names. -
descriptions
Descriptions.
-
-
Constructor Details
-
ServiceImpl
public ServiceImpl()ServiceImpl constructor comment.
-
-
Method Details
-
addDescription
Add description element.- Specified by:
addDescription
in interfaceService
- Parameters:
description
- the description element to add
-
removeDescription
Remove description element.- Specified by:
removeDescription
in interfaceService
- Parameters:
description
- the description element to remove
-
getDescriptions
Get description elements.- Specified by:
getDescriptions
in interfaceService
- Returns:
- Returns an array of descriptions.
-
addServiceName
Add service name.- Specified by:
addServiceName
in interfaceService
- Parameters:
serviceName
- the service name element to add
-
removeServiceName
Remove a service name.- Specified by:
removeServiceName
in interfaceService
- Parameters:
serviceName
- the service name element to remove
-
getServiceNames
Get the service name.- Specified by:
getServiceNames
in interfaceService
- Returns:
- Returns an array of service names.
-
toXMLString
XML string representation of this object.- Specified by:
toXMLString
in interfaceWSILElement
- Returns:
- Returns the XML string format of this element.
-