com.ibm.wsdl.extensions.mime
Class MIMEContentImpl

java.lang.Object
  |
  +--com.ibm.wsdl.extensions.mime.MIMEContentImpl
All Implemented Interfaces:
ExtensibilityElement, MIMEContent, java.io.Serializable

public class MIMEContentImpl
extends java.lang.Object
implements MIMEContent

Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
Serialized Form

Field Summary
protected  javax.xml.namespace.QName elementType
           
protected  java.lang.String part
           
protected  java.lang.Boolean required
           
protected  java.lang.String type
           
 
Constructor Summary
MIMEContentImpl()
           
 
Method Summary
 javax.xml.namespace.QName getElementType()
          Get the type of this extensibility element.
 java.lang.String getPart()
          Get the part for this MIME content.
 java.lang.Boolean getRequired()
          Get whether or not the semantics of this extension are required.
 java.lang.String getType()
          Get the type for this MIME content.
 void setElementType(javax.xml.namespace.QName elementType)
          Set the type of this extensibility element.
 void setPart(java.lang.String part)
          Set the part for this MIME content.
 void setRequired(java.lang.Boolean required)
          Set whether or not the semantics of this extension are required.
 void setType(java.lang.String type)
          Set the type for this MIME content.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elementType

protected javax.xml.namespace.QName elementType

required

protected java.lang.Boolean required

part

protected java.lang.String part

type

protected java.lang.String type
Constructor Detail

MIMEContentImpl

public MIMEContentImpl()
Method Detail

setElementType

public void setElementType(javax.xml.namespace.QName elementType)
Set the type of this extensibility element.
Specified by:
setElementType in interface ExtensibilityElement
Parameters:
elementType - the type

getElementType

public javax.xml.namespace.QName getElementType()
Get the type of this extensibility element.
Specified by:
getElementType in interface ExtensibilityElement
Returns:
the extensibility element's type

setRequired

public void setRequired(java.lang.Boolean required)
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
Specified by:
setRequired in interface ExtensibilityElement

getRequired

public java.lang.Boolean getRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.
Specified by:
getRequired in interface ExtensibilityElement

setPart

public void setPart(java.lang.String part)
Set the part for this MIME content.
Specified by:
setPart in interface MIMEContent
Parameters:
part - the desired part

getPart

public java.lang.String getPart()
Get the part for this MIME content.
Specified by:
getPart in interface MIMEContent

setType

public void setType(java.lang.String type)
Set the type for this MIME content.
Specified by:
setType in interface MIMEContent
Parameters:
type - the desired type

getType

public java.lang.String getType()
Get the type for this MIME content.
Specified by:
getType in interface MIMEContent

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001 IBM. All Rights Reserved.