Package com.ibm.wsdl.extensions.mime
Class MIMEContentImpl
- java.lang.Object
-
- com.ibm.wsdl.extensions.mime.MIMEContentImpl
-
- All Implemented Interfaces:
java.io.Serializable,ExtensibilityElement,MIMEContent
public class MIMEContentImpl extends java.lang.Object implements MIMEContent
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected QNameelementTypeprotected java.lang.Stringpartprotected java.lang.Booleanrequiredstatic longserialVersionUIDprotected java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description MIMEContentImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetElementType()Get the type of this extensibility element.java.lang.StringgetPart()Get the part for this MIME content.java.lang.BooleangetRequired()Get whether or not the semantics of this extension are required.java.lang.StringgetType()Get the type for this MIME content.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetPart(java.lang.String part)Set the part for this MIME content.voidsetRequired(java.lang.Boolean required)Set whether or not the semantics of this extension are required.voidsetType(java.lang.String type)Set the type for this MIME content.java.lang.StringtoString()
-
-
-
Field Detail
-
elementType
protected QName elementType
-
required
protected java.lang.Boolean required
-
part
protected java.lang.String part
-
type
protected java.lang.String type
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setElementType
public void setElementType(QName elementType)
Set the type of this extensibility element.- Specified by:
setElementTypein interfaceExtensibilityElement- Parameters:
elementType- the type
-
getElementType
public QName getElementType()
Get the type of this extensibility element.- Specified by:
getElementTypein interfaceExtensibilityElement- 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:
setRequiredin interfaceExtensibilityElement
-
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:
getRequiredin interfaceExtensibilityElement
-
setPart
public void setPart(java.lang.String part)
Set the part for this MIME content.- Specified by:
setPartin interfaceMIMEContent- Parameters:
part- the desired part
-
getPart
public java.lang.String getPart()
Get the part for this MIME content.- Specified by:
getPartin interfaceMIMEContent
-
setType
public void setType(java.lang.String type)
Set the type for this MIME content.- Specified by:
setTypein interfaceMIMEContent- Parameters:
type- the desired type
-
getType
public java.lang.String getType()
Get the type for this MIME content.- Specified by:
getTypein interfaceMIMEContent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-