Package com.ibm.wsdl

Class ServiceImpl

    • Field Detail

      • name

        protected javax.xml.namespace.QName name
      • ports

        protected java.util.Map ports
      • nativeAttributeNames

        protected java.util.List nativeAttributeNames
    • Constructor Detail

      • ServiceImpl

        public ServiceImpl()
    • Method Detail

      • setQName

        public void setQName​(javax.xml.namespace.QName name)
        Set the name of this service.
        Specified by:
        setQName in interface Service
        Parameters:
        name - the desired name
      • getQName

        public javax.xml.namespace.QName getQName()
        Get the name of this service.
        Specified by:
        getQName in interface Service
        Returns:
        the service name
      • addPort

        public void addPort​(Port port)
        Add a port to this service.
        Specified by:
        addPort in interface Service
        Parameters:
        port - the port to be added
      • getPort

        public Port getPort​(java.lang.String name)
        Get the specified port.
        Specified by:
        getPort in interface Service
        Parameters:
        name - the name of the desired port.
        Returns:
        the corresponding port, or null if there wasn't any matching port
      • removePort

        public Port removePort​(java.lang.String name)
        Remove the specified port.
        Specified by:
        removePort in interface Service
        Parameters:
        name - the name of the port to be removed.
        Returns:
        the port which was removed
      • getPorts

        public java.util.Map getPorts()
        Get all the ports defined here.
        Specified by:
        getPorts in interface Service
      • getNativeAttributeNames

        public java.util.List getNativeAttributeNames()
        Get the list of local attribute names defined for this element in the WSDL specification.
        Specified by:
        getNativeAttributeNames in interface AttributeExtensible
        Returns:
        a List of Strings, one for each local attribute name