public class Attachment extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for AttachmentComplexType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttachmentComplexType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{}uuid"/>
<element name="NoticeId" type="{}uuid"/>
<element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="DataType" type="{http://www.w3.org/2001/XMLSchema}token"/>
<element name="Link" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="TextData" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="AwardGuid" type="{}uuid" minOccurs="0"/>
<element name="Data" type="{http://www.w3.org/2001/XMLSchema}hexBinary" minOccurs="0"/>
<element name="DocumentType" type="{}docTypeEnum" minOccurs="0"/>
<element name="S3Locations" type="{}s3LocationType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
awardGuid |
protected byte[] |
data |
protected String |
dataType |
protected String |
description |
protected DocTypeEnum |
documentType |
protected String |
id |
protected String |
link |
protected String |
mimeType |
protected String |
noticeId |
protected List<S3LocationType> |
s3Locations |
protected String |
textData |
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
String |
getAwardGuid()
Gets the value of the awardGuid property.
|
byte[] |
getData()
Gets the value of the data property.
|
String |
getDataType()
Gets the value of the dataType property.
|
String |
getDescription()
Gets the value of the description property.
|
DocTypeEnum |
getDocumentType()
Gets the value of the documentType property.
|
String |
getId()
Gets the value of the id property.
|
String |
getLink()
Gets the value of the link property.
|
String |
getMimeType()
Gets the value of the mimeType property.
|
String |
getNoticeId()
Gets the value of the noticeId property.
|
List<S3LocationType> |
getS3Locations()
Gets the value of the s3Locations property.
|
String |
getTextData()
Gets the value of the textData property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setAwardGuid(String value)
Sets the value of the awardGuid property.
|
void |
setData(byte[] value)
Sets the value of the data property.
|
void |
setDataType(String value)
Sets the value of the dataType property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDocumentType(DocTypeEnum value)
Sets the value of the documentType property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLink(String value)
Sets the value of the link property.
|
void |
setMimeType(String value)
Sets the value of the mimeType property.
|
void |
setNoticeId(String value)
Sets the value of the noticeId property.
|
void |
setTextData(String value)
Sets the value of the textData property.
|
String |
toString() |
Attachment |
withAwardGuid(String value) |
Attachment |
withData(byte[] value) |
Attachment |
withDataType(String value) |
Attachment |
withDescription(String value) |
Attachment |
withDocumentType(DocTypeEnum value) |
Attachment |
withId(String value) |
Attachment |
withLink(String value) |
Attachment |
withMimeType(String value) |
Attachment |
withNoticeId(String value) |
Attachment |
withS3Locations(Collection<S3LocationType> values) |
Attachment |
withS3Locations(S3LocationType... values) |
Attachment |
withTextData(String value) |
protected String id
protected String noticeId
protected String description
protected String dataType
protected String link
protected String textData
protected String mimeType
protected String awardGuid
protected byte[] data
protected DocTypeEnum documentType
protected List<S3LocationType> s3Locations
public void setId(String value)
value - allowed object is
Stringpublic String getNoticeId()
Stringpublic void setNoticeId(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDataType()
Stringpublic void setDataType(String value)
value - allowed object is
Stringpublic String getLink()
Stringpublic void setLink(String value)
value - allowed object is
Stringpublic String getTextData()
Stringpublic void setTextData(String value)
value - allowed object is
Stringpublic String getMimeType()
Stringpublic void setMimeType(String value)
value - allowed object is
Stringpublic String getAwardGuid()
Stringpublic void setAwardGuid(String value)
value - allowed object is
Stringpublic byte[] getData()
Stringpublic void setData(byte[] value)
value - allowed object is
Stringpublic DocTypeEnum getDocumentType()
DocTypeEnumpublic void setDocumentType(DocTypeEnum value)
value - allowed object is
DocTypeEnumpublic List<S3LocationType> getS3Locations()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the s3Locations property.
For example, to add a new item, do as follows:
getS3Locations().add(newItem);
Objects of the following type(s) are allowed in the list
S3LocationType
public Attachment withId(String value)
public Attachment withNoticeId(String value)
public Attachment withDescription(String value)
public Attachment withDataType(String value)
public Attachment withLink(String value)
public Attachment withTextData(String value)
public Attachment withMimeType(String value)
public Attachment withAwardGuid(String value)
public Attachment withData(byte[] value)
public Attachment withDocumentType(DocTypeEnum value)
public Attachment withS3Locations(S3LocationType... values)
public Attachment withS3Locations(Collection<S3LocationType> values)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2Copyright © 2021. All rights reserved.