Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * (c) Copyright IBM Corp 2001, 2005 
  */
 
 package com.ibm.wsdl.extensions.http;
 

Author(s):
Matthew J. Duftler (duftler@us.ibm.com)
public class HTTPUrlReplacementImpl implements HTTPUrlReplacement
  // Uses the wrapper type so we can tell if it was set or not.
  protected Boolean required = 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 ;
  }
  public String toString()
  {
    StringBuffer strBuf = new StringBuffer();
    strBuf.append("HTTPUrlReplacement (" +  + "):");
    strBuf.append("\nrequired=" + );
    return strBuf.toString();
  }
New to GrepCode? Check out our FAQ X