Class ServiceImpl
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.ServiceImpl
- All Implemented Interfaces:
Serializable, AttributeExtensible, ElementExtensible, Service, WSDLElement
This class represents a service, which groups related
ports to provide some functionality.
- Author:
- Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractWSDLElement
docEl, extElements, extensionAttributesFields inherited from interface AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a port to this service.Get the list of local attribute names defined for this element in the WSDL specification.Get the specified port.getPorts()Get all the ports defined here.getQName()Get the name of this service.removePort(String name) Remove the specified port.voidSet the name of this service.toString()Methods inherited from class AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttributeMethods inherited from interface ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElementMethods inherited from interface WSDLElement
getDocumentationElement, setDocumentationElement
-
Field Details
-
name
-
ports
-
nativeAttributeNames
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ServiceImpl
public ServiceImpl()
-
-
Method Details
-
setQName
-
getQName
-
addPort
-
getPort
-
removePort
Remove the specified port.- Specified by:
removePortin interfaceService- Parameters:
name- the name of the port to be removed.- Returns:
- the port which was removed
-
getPorts
-
toString
- Overrides:
toStringin classAbstractWSDLElement
-
getNativeAttributeNames
Get the list of local attribute names defined for this element in the WSDL specification.- Specified by:
getNativeAttributeNamesin interfaceAttributeExtensible- Returns:
- a List of Strings, one for each local attribute name
-