Class MIMEMultipartRelatedImpl

java.lang.Object
com.ibm.wsdl.extensions.mime.MIMEMultipartRelatedImpl
All Implemented Interfaces:
Serializable, ExtensibilityElement, MIMEMultipartRelated

public class MIMEMultipartRelatedImpl extends Object implements MIMEMultipartRelated
Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
  • Field Details

    • elementType

      protected QName elementType
    • required

      protected Boolean required
    • mimeParts

      protected List mimeParts
    • serialVersionUID

      public static final long serialVersionUID
      See Also:
  • Constructor Details

    • MIMEMultipartRelatedImpl

      public MIMEMultipartRelatedImpl()
  • Method Details

    • setElementType

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

      public 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(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 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
    • addMIMEPart

      public void addMIMEPart(MIMEPart mimePart)
      Add a MIME part to this MIME multipart related.
      Specified by:
      addMIMEPart in interface MIMEMultipartRelated
      Parameters:
      mimePart - the MIME part to be added
    • removeMIMEPart

      public MIMEPart removeMIMEPart(MIMEPart mimePart)
      Remove a MIME part from this MIME multipart related.
      Specified by:
      removeMIMEPart in interface MIMEMultipartRelated
      Parameters:
      mimePart - the MIME part to be removed.
      Returns:
      the MIME part which was removed.
    • getMIMEParts

      public List getMIMEParts()
      Get all the MIME parts defined here.
      Specified by:
      getMIMEParts in interface MIMEMultipartRelated
    • toString

      public String toString()
      Overrides:
      toString in class Object