Package org.apache.wsil.impl
Class ServiceImpl
- java.lang.Object
-
- org.apache.wsil.impl.WSILElementWithAbstractImpl
-
- org.apache.wsil.impl.ServiceImpl
-
- All Implemented Interfaces:
java.io.Serializable,Service,WSILElement,WSILElementWithAbstract
public class ServiceImpl extends WSILElementWithAbstractImpl implements Service
This class provides the support for the <service> element.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ListdescriptionsDescriptions.protected java.util.VectorserviceNamesService names.-
Fields inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
abstracts
-
-
Constructor Summary
Constructors Constructor Description ServiceImpl()ServiceImpl constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDescription(Description description)Add description element.voidaddServiceName(ServiceName serviceName)Add service name.Description[]getDescriptions()Get description elements.ServiceName[]getServiceNames()Get the service name.voidremoveDescription(Description description)Remove description element.voidremoveServiceName(ServiceName serviceName)Remove a service name.java.lang.StringtoXMLString()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
-
-
-
-
Method Detail
-
addDescription
public void addDescription(Description description)
Add description element.- Specified by:
addDescriptionin interfaceService- Parameters:
description- the description element to add
-
removeDescription
public void removeDescription(Description description)
Remove description element.- Specified by:
removeDescriptionin interfaceService- Parameters:
description- the description element to remove
-
getDescriptions
public Description[] getDescriptions()
Get description elements.- Specified by:
getDescriptionsin interfaceService- Returns:
- Returns an array of descriptions.
-
addServiceName
public void addServiceName(ServiceName serviceName)
Add service name.- Specified by:
addServiceNamein interfaceService- Parameters:
serviceName- the service name element to add
-
removeServiceName
public void removeServiceName(ServiceName serviceName)
Remove a service name.- Specified by:
removeServiceNamein interfaceService- Parameters:
serviceName- the service name element to remove
-
getServiceNames
public ServiceName[] getServiceNames()
Get the service name.- Specified by:
getServiceNamesin interfaceService- Returns:
- Returns an array of service names.
-
toXMLString
public java.lang.String toXMLString()
XML string representation of this object.- Specified by:
toXMLStringin interfaceWSILElement- Returns:
- Returns the XML string format of this element.
-
-