Package com.ibm.wsdl

Class OperationImpl

    • Field Detail

      • name

        protected java.lang.String name
      • input

        protected Input input
      • output

        protected Output output
      • faults

        protected java.util.Map faults
      • parameterOrder

        protected java.util.List parameterOrder
      • nativeAttributeNames

        protected java.util.List nativeAttributeNames
      • isUndefined

        protected boolean isUndefined
    • Constructor Detail

      • OperationImpl

        public OperationImpl()
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Set the name of this operation.
        Specified by:
        setName in interface Operation
        Parameters:
        name - the desired name
      • getName

        public java.lang.String getName()
        Get the name of this operation.
        Specified by:
        getName in interface Operation
        Returns:
        the operation name
      • setInput

        public void setInput​(Input input)
        Set the input message specification for this operation.
        Specified by:
        setInput in interface Operation
        Parameters:
        input - the new input message
      • getInput

        public Input getInput()
        Get the input message specification for this operation.
        Specified by:
        getInput in interface Operation
        Returns:
        the input message
      • setOutput

        public void setOutput​(Output output)
        Set the output message specification for this operation.
        Specified by:
        setOutput in interface Operation
        Parameters:
        output - the new output message
      • getOutput

        public Output getOutput()
        Get the output message specification for this operation.
        Specified by:
        getOutput in interface Operation
        Returns:
        the output message specification for the operation
      • addFault

        public void addFault​(Fault fault)
        Add a fault message that must be associated with this operation.
        Specified by:
        addFault in interface Operation
        Parameters:
        fault - the new fault message
      • getFault

        public Fault getFault​(java.lang.String name)
        Get the specified fault message.
        Specified by:
        getFault in interface Operation
        Parameters:
        name - the name of the desired fault message.
        Returns:
        the corresponding fault message, or null if there wasn't any matching message
      • removeFault

        public Fault removeFault​(java.lang.String name)
        Remove the specified fault message.
        Specified by:
        removeFault in interface Operation
        Parameters:
        name - the name of the fault message to be removed
        Returns:
        the fault message which was removed.
      • getFaults

        public java.util.Map getFaults()
        Get all the fault messages associated with this operation.
        Specified by:
        getFaults in interface Operation
        Returns:
        names of fault messages
      • setStyle

        public void setStyle​(OperationType style)
        Set the style for this operation (request-response, one way, solicit-response or notification).
        Specified by:
        setStyle in interface Operation
        Parameters:
        style - the new operation style
      • setParameterOrdering

        public void setParameterOrdering​(java.util.List parameterOrder)
        Set the parameter ordering for a request-response, or solicit-response operation.
        Specified by:
        setParameterOrdering in interface Operation
        Parameters:
        parameterOrder - a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations
      • getParameterOrdering

        public java.util.List getParameterOrdering()
        Get the parameter ordering for this operation.
        Specified by:
        getParameterOrdering in interface Operation
        Returns:
        the parameter ordering, a list consisting of message part names
      • setUndefined

        public void setUndefined​(boolean isUndefined)
        Specified by:
        setUndefined in interface Operation
      • 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