public class ObjAttachments extends AbstractObject
Java class for obj_attachments complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="obj_attachments">
<complexContent>
<extension base="{http://www.energistics.org/schemas/abstract}abstractObject">
<sequence>
<element name="documentInfo" type="{http://www.witsml.org/schemas/1series}cs_documentInfo" minOccurs="0"/>
<element name="attachment" type="{http://www.witsml.org/schemas/1series}obj_attachment" maxOccurs="unbounded"/>
</sequence>
<attribute name="version" use="required" type="{http://www.witsml.org/schemas/1series}schemaVersionString" />
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ObjAttachments() |
| Modifier and Type | Method and Description |
|---|---|
List<ObjAttachment> |
getAttachment()
Gets the value of the attachment property.
|
CsDocumentInfo |
getDocumentInfo()
Gets the value of the documentInfo property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setDocumentInfo(CsDocumentInfo value)
Sets the value of the documentInfo property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
public CsDocumentInfo getDocumentInfo()
CsDocumentInfopublic void setDocumentInfo(CsDocumentInfo value)
value - allowed object is
CsDocumentInfopublic List<ObjAttachment> getAttachment()
set method for the attachment property.
For example, to add a new item, do as follows:
getAttachment().add(newItem);
Objects of the following type(s) are allowed in the list
ObjAttachmentpublic String getVersion()
StringCopyright © 2017. All rights reserved.