Package com.ibm.wsdl.extensions.mime
Class MIMEPartImpl
- java.lang.Object
-
- com.ibm.wsdl.extensions.mime.MIMEPartImpl
-
- All Implemented Interfaces:
Serializable,ElementExtensible,ExtensibilityElement,MIMEPart
public class MIMEPartImpl extends Object implements MIMEPart
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected QNameelementTypeprotected ListextElementsprotected Booleanrequiredstatic longserialVersionUID
-
Constructor Summary
Constructors Constructor Description MIMEPartImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtensibilityElement(ExtensibilityElement extElement)Add an extensibility element.QNamegetElementType()Get the type of this extensibility element.ListgetExtensibilityElements()Get all the extensibility elements defined here.BooleangetRequired()Get whether or not the semantics of this extension are required.ExtensibilityElementremoveExtensibilityElement(ExtensibilityElement extElement)Remove an extensibility element.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetRequired(Boolean required)Set whether or not the semantics of this extension are required.StringtoString()
-
-
-
Field Detail
-
elementType
protected QName elementType
-
required
protected Boolean required
-
extElements
protected List extElements
-
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(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 Boolean getRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.- Specified by:
getRequiredin interfaceExtensibilityElement
-
addExtensibilityElement
public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element. This is where the MIME elements go.- Specified by:
addExtensibilityElementin interfaceElementExtensible- Parameters:
extElement- the extensibility element to be added
-
removeExtensibilityElement
public ExtensibilityElement removeExtensibilityElement(ExtensibilityElement extElement)
Remove an extensibility element.- Specified by:
removeExtensibilityElementin interfaceElementExtensible- Parameters:
extElement- the extensibility element to be removed- Returns:
- the extensibility element which was removed
-
getExtensibilityElements
public List getExtensibilityElements()
Get all the extensibility elements defined here.- Specified by:
getExtensibilityElementsin interfaceElementExtensible
-
-