public class AttachmentType extends Object implements Serializable
Java class for AttachmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttachmentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="BinaryAttachment" type="{http://epd.iru.org/model/message/envelope}BinaryAttachmentType"/>
<any processContents='lax' namespace='##other'/>
</choice>
<attribute name="attachmentId" type="{http://www.w3.org/2001/XMLSchema}ID" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Object |
any |
protected String |
attachmentId |
protected BinaryAttachmentType |
binaryAttachment |
| Constructor and Description |
|---|
AttachmentType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAny()
Gets the value of the any property.
|
String |
getAttachmentId()
Gets the value of the attachmentId property.
|
BinaryAttachmentType |
getBinaryAttachment()
Gets the value of the binaryAttachment property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
void |
setAny(Object value)
Sets the value of the any property.
|
void |
setAttachmentId(String value)
Sets the value of the attachmentId property.
|
void |
setBinaryAttachment(BinaryAttachmentType value)
Sets the value of the binaryAttachment property.
|
protected BinaryAttachmentType binaryAttachment
protected Object any
protected String attachmentId
public BinaryAttachmentType getBinaryAttachment()
BinaryAttachmentTypepublic void setBinaryAttachment(BinaryAttachmentType value)
value - allowed object is
BinaryAttachmentTypepublic Object getAny()
public void setAny(Object value)
public String getAttachmentId()
Stringpublic void setAttachmentId(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2017. All Rights Reserved.