com.esri.arcgisws
Class AttachmentData

java.lang.Object
  extended by com.esri.arcgisws.AttachmentData
All Implemented Interfaces:
java.io.Serializable

public class AttachmentData
extends java.lang.Object
implements java.io.Serializable

Esri AttachmentData Object.

Java class for AttachmentData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AttachmentData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Data" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
         <element name="AttachmentInfo" type="{http://www.esri.com/schemas/ArcGIS/10.3}AttachmentInfo"/>
         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="TransportType" type="{http://www.esri.com/schemas/ArcGIS/10.3}esriTransportType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Esri AttachmentData Object.

See Also:
Serialized Form

Constructor Summary
AttachmentData()
          AttachmentData default constructor.
AttachmentData(byte[] data, AttachmentInfo attachmentInfo, java.lang.String url, EsriTransportType transportType)
          Deprecated. 
 
Method Summary
 AttachmentInfo getAttachmentInfo()
          Content type that indicates the type of the mime content.
 byte[] getData()
          Attachment as bytes.
 EsriTransportType getTransportType()
          Transport Type.
 java.lang.String getURL()
          URL.
 void setAttachmentInfo(AttachmentInfo value)
          Content type that indicates the type of the mime content.
 void setData(byte[] value)
          Attachment as bytes.
 void setTransportType(EsriTransportType value)
          Transport Type.
 void setURL(java.lang.String value)
          URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentData

@Deprecated
public AttachmentData(byte[] data,
                                 AttachmentInfo attachmentInfo,
                                 java.lang.String url,
                                 EsriTransportType transportType)
Deprecated. 

AttachmentData constructor.


AttachmentData

public AttachmentData()
AttachmentData default constructor.

Method Detail

getData

public byte[] getData()
Attachment as bytes. Gets the value of the data property.

Returns:
possible object is byte[]

setData

public void setData(byte[] value)
Attachment as bytes. Sets the value of the data property.

Parameters:
value - allowed object is byte[]

getAttachmentInfo

public AttachmentInfo getAttachmentInfo()
Content type that indicates the type of the mime content. Gets the value of the attachmentInfo property.

Returns:
possible object is AttachmentInfo

setAttachmentInfo

public void setAttachmentInfo(AttachmentInfo value)
Content type that indicates the type of the mime content. Sets the value of the attachmentInfo property.

Parameters:
value - allowed object is AttachmentInfo

getURL

public java.lang.String getURL()
URL. Gets the value of the url property.

Returns:
possible object is String

setURL

public void setURL(java.lang.String value)
URL. Sets the value of the url property.

Parameters:
value - allowed object is String

getTransportType

public EsriTransportType getTransportType()
Transport Type. Gets the value of the transportType property.

Returns:
possible object is EsriTransportType

setTransportType

public void setTransportType(EsriTransportType value)
Transport Type. Sets the value of the transportType property.

Parameters:
value - allowed object is EsriTransportType