Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * (c) Copyright IBM Corp 2006 
   */
  
  package com.ibm.wsdl.extensions.soap12;
  
  import java.util.*;
Based on com.ibm.wsdl.extensions.soap.SOAPBodyImpl
 
 public class SOAP12BodyImpl implements SOAP12Body
 {
   protected Boolean required = null;
   protected List parts = null;
   protected String use = null;
   protected String encodingStyle = null;
   protected String namespaceURI = null;
 
   public static final long serialVersionUID = 1;

  
Set the type of this extensibility element.

Parameters:
elementType the type
 
   public void setElementType(QName elementType)
   {
     this. = elementType;
   }

  
Get the type of this extensibility element.

Returns:
the extensibility element's type
 
   public QName getElementType()
   {
     return ;
   }

  
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
 
   public void setRequired(Boolean required)
   {
     this. = required;
   }

  
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
 
   public Boolean getRequired()
   {
     return ;
   }

  
Set the parts for this SOAP body.

Parameters:
parts the desired parts
 
   public void setParts(List parts)
   {
     this. = parts;
   }

  
Get the parts for this SOAP body.
 
   public List getParts()
   {
     return ;
   }

  
Set the use for this SOAP body.

Parameters:
use the desired use
 
   public void setUse(String use)
   {
     this. = use;
   }

  
Get the use for this SOAP body.
 
   public String getUse()
   {
     return ;
   }

  
Set the encodingStyle for this SOAP body.

Parameters:
encodingStyle the desired encodingStyle
  public void setEncodingStyle(String encodingStyle)
  {
    this. = encodingStyle;
  }

  
Get the encodingStyle for this SOAP body.
  {
    return ;
  }

  
Set the namespace URI for this SOAP body.

Parameters:
namespaceURI the desired namespace URI
  public void setNamespaceURI(String namespaceURI)
  {
    this. = namespaceURI;
  }

  
Get the namespace URI for this SOAP body.
  public String getNamespaceURI()
  {
    return ;
  }
  public String toString()
  {
    StringBuffer strBuf = new StringBuffer();
    strBuf.append("SOAPBody (" +  + "):");
    strBuf.append("\nrequired=" + );
    if ( != null)
    {
      strBuf.append("\nparts=" + );
    }
    if ( != null)
    {
      strBuf.append("\nuse=" + );
    }
    if ( != null)
    {
      strBuf.append("\nencodingStyle=" + );
    }
    if ( != null)
    {
      strBuf.append("\nnamespaceURI=" + );
    }
    return strBuf.toString();
  }
New to GrepCode? Check out our FAQ X