org.apache.wsil.impl
Class ServiceImpl

java.lang.Object
  extended by org.apache.wsil.impl.WSILElementWithAbstractImpl
      extended by 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
protected  java.util.List descriptions
          Descriptions.
protected  java.util.Vector serviceNames
          Service names.
 
Fields inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
abstracts
 
Fields inherited from interface org.apache.wsil.Service
ELEM_NAME, QNAME
 
Constructor Summary
ServiceImpl()
          ServiceImpl constructor comment.
 
Method Summary
 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
 

Field Detail

serviceNames

protected java.util.Vector serviceNames
Service names.


descriptions

protected java.util.List descriptions
Descriptions.

Constructor Detail

ServiceImpl

public ServiceImpl()
ServiceImpl constructor comment.

Method Detail

addDescription

public void addDescription(Description description)
Add description element.

Specified by:
addDescription in interface Service
Parameters:
description - the description element to add

removeDescription

public void removeDescription(Description description)
Remove description element.

Specified by:
removeDescription in interface Service
Parameters:
description - the description element to remove

getDescriptions

public Description[] getDescriptions()
Get description elements.

Specified by:
getDescriptions in interface Service
Returns:
Returns an array of descriptions.

addServiceName

public void addServiceName(ServiceName serviceName)
Add service name.

Specified by:
addServiceName in interface Service
Parameters:
serviceName - the service name element to add

removeServiceName

public void removeServiceName(ServiceName serviceName)
Remove a service name.

Specified by:
removeServiceName in interface Service
Parameters:
serviceName - the service name element to remove

getServiceNames

public ServiceName[] getServiceNames()
Get the service name.

Specified by:
getServiceNames in interface Service
Returns:
Returns an array of service names.

toXMLString

public java.lang.String toXMLString()
XML string representation of this object.

Specified by:
toXMLString in interface WSILElement
Returns:
Returns the XML string format of this element.


Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.