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 TypeMethodDescriptionvoidaddDescription(Description description) Add description element.voidaddServiceName(ServiceName serviceName) Add service name.Get description elements.Get the service name.voidremoveDescription(Description description) Remove description element.voidremoveServiceName(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
addDescriptionin interfaceService- Parameters:
description- the description element to add
-
removeDescription
Remove description element.- Specified by:
removeDescriptionin interfaceService- Parameters:
description- the description element to remove
-
getDescriptions
Get description elements.- Specified by:
getDescriptionsin interfaceService- Returns:
- Returns an array of descriptions.
-
addServiceName
Add service name.- Specified by:
addServiceNamein interfaceService- Parameters:
serviceName- the service name element to add
-
removeServiceName
Remove a service name.- Specified by:
removeServiceNamein interfaceService- Parameters:
serviceName- the service name element to remove
-
getServiceNames
Get the service name.- Specified by:
getServiceNamesin interfaceService- Returns:
- Returns an array of service names.
-
toXMLString
XML string representation of this object.- Specified by:
toXMLStringin interfaceWSILElement- Returns:
- Returns the XML string format of this element.
-