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.List
descriptions
Descriptions.protected java.util.Vector
serviceNames
Service 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 void
addDescription(Description description)
Add description element.void
addServiceName(ServiceName serviceName)
Add service name.Description[]
getDescriptions()
Get description elements.ServiceName[]
getServiceNames()
Get the service name.void
removeDescription(Description description)
Remove description element.void
removeServiceName(ServiceName serviceName)
Remove a service name.java.lang.String
toXMLString()
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:
addDescription
in interfaceService
- Parameters:
description
- the description element to add
-
removeDescription
public void removeDescription(Description description)
Remove description element.- Specified by:
removeDescription
in interfaceService
- Parameters:
description
- the description element to remove
-
getDescriptions
public Description[] getDescriptions()
Get description elements.- Specified by:
getDescriptions
in interfaceService
- Returns:
- Returns an array of descriptions.
-
addServiceName
public void addServiceName(ServiceName serviceName)
Add service name.- Specified by:
addServiceName
in interfaceService
- Parameters:
serviceName
- the service name element to add
-
removeServiceName
public void removeServiceName(ServiceName serviceName)
Remove a service name.- Specified by:
removeServiceName
in interfaceService
- Parameters:
serviceName
- the service name element to remove
-
getServiceNames
public ServiceName[] getServiceNames()
Get the service name.- Specified by:
getServiceNames
in interfaceService
- Returns:
- Returns an array of service names.
-
toXMLString
public java.lang.String toXMLString()
XML string representation of this object.- Specified by:
toXMLString
in interfaceWSILElement
- Returns:
- Returns the XML string format of this element.
-
-