Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * (c) Copyright IBM Corp 2001, 2006 
  */
 
 package javax.wsdl;
 
 import java.util.*;
This interface describes a message used for communication with an operation.

Author(s):
Paul Fremantle
Nirmal Mukhi
Matthew J. Duftler
public interface Message extends WSDLElement
{
  
Set the name of this message.

Parameters:
name the desired name
  public void setQName(QName name);

  
Get the name of this message.

Returns:
the message name
  public QName getQName();

  
Add a part to this message.

Parameters:
part the part to be added
  public void addPart(Part part);

  
Get the specified part.

Parameters:
name the name of the desired part.
Returns:
the corresponding part, or null if there wasn't any matching part
  public Part getPart(String name);

  
Remove the specified part.

Parameters:
name the name of the part to be removed.
Returns:
the part which was removed
  public Part removePart(String name);

  
Get all the parts defined here.
  public Map getParts();

  
Get an ordered list of parts as specified by the partOrder argument.

Parameters:
partOrder a list of strings, with each string referring to a part by its name. If this argument is null, the parts are returned in the order in which they were added to the message.
Returns:
the list of parts
  public List getOrderedParts(List partOrder);
  public void setUndefined(boolean isUndefined);
  public boolean isUndefined();
New to GrepCode? Check out our FAQ X