public class MIMEContentImpl extends Object implements MIMEContent
Modifier and Type | Field and Description |
---|---|
protected QName |
elementType |
protected String |
part |
protected Boolean |
required |
static long |
serialVersionUID |
protected String |
type |
Constructor and Description |
---|
MIMEContentImpl() |
Modifier and Type | Method and Description |
---|---|
QName |
getElementType()
Get the type of this extensibility element.
|
String |
getPart()
Get the part for this MIME content.
|
Boolean |
getRequired()
Get whether or not the semantics of this extension
are required.
|
String |
getType()
Get the type for this MIME content.
|
void |
setElementType(QName elementType)
Set the type of this extensibility element.
|
void |
setPart(String part)
Set the part for this MIME content.
|
void |
setRequired(Boolean required)
Set whether or not the semantics of this extension
are required.
|
void |
setType(String type)
Set the type for this MIME content.
|
String |
toString() |
protected QName elementType
protected Boolean required
protected String part
protected String type
public static final long serialVersionUID
public void setElementType(QName elementType)
setElementType
in interface ExtensibilityElement
elementType
- the typepublic QName getElementType()
getElementType
in interface ExtensibilityElement
public void setRequired(Boolean required)
setRequired
in interface ExtensibilityElement
public Boolean getRequired()
getRequired
in interface ExtensibilityElement
public void setPart(String part)
setPart
in interface MIMEContent
part
- the desired partpublic String getPart()
getPart
in interface MIMEContent
public void setType(String type)
setType
in interface MIMEContent
type
- the desired typepublic String getType()
getType
in interface MIMEContent
Copyright © 2018 JBoss by Red Hat. All rights reserved.