com.esri.arcgis.geodatabase
Interface IAttachmentData

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AttachmentData, IAttachmentDataProxy

public interface IAttachmentData
extends java.io.Serializable

COM Interface 'IAttachmentData'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that describe an attachment.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID289e0bc8_26f4_4391_8a4b_87d6e133dff4
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IAttachmentInfo getAttachmentInfo()
          Content type that indicates the type of the mime content.
 byte[] getData()
          Attachment as bytes.
 int getTransportType()
          Transport Type.
 java.lang.String getURL()
          URL.
 void setAttachmentInfoByRef(IAttachmentInfo attachmentInfo)
          Content type that indicates the type of the mime content.
 void setData(byte[] data)
          Attachment as bytes.
 void setTransportType(int pTransportType)
          Transport Type.
 void setURL(java.lang.String uRL)
          URL.
 

Field Detail

IID289e0bc8_26f4_4391_8a4b_87d6e133dff4

static final int IID289e0bc8_26f4_4391_8a4b_87d6e133dff4
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getData

byte[] getData()
               throws java.io.IOException,
                      AutomationException
Attachment as bytes.

Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setData

void setData(byte[] data)
             throws java.io.IOException,
                    AutomationException
Attachment as bytes.

Parameters:
data - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttachmentInfo

IAttachmentInfo getAttachmentInfo()
                                  throws java.io.IOException,
                                         AutomationException
Content type that indicates the type of the mime content.

Returns:
A reference to a com.esri.arcgis.geodatabase.IAttachmentInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttachmentInfoByRef

void setAttachmentInfoByRef(IAttachmentInfo attachmentInfo)
                            throws java.io.IOException,
                                   AutomationException
Content type that indicates the type of the mime content.

Parameters:
attachmentInfo - A reference to a com.esri.arcgis.geodatabase.IAttachmentInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

java.lang.String getURL()
                        throws java.io.IOException,
                               AutomationException
URL.

Returns:
The uRL
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setURL

void setURL(java.lang.String uRL)
            throws java.io.IOException,
                   AutomationException
URL.

Parameters:
uRL - The uRL (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransportType

int getTransportType()
                     throws java.io.IOException,
                            AutomationException
Transport Type.

Returns:
A com.esri.arcgis.system.esriTransportType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransportType

void setTransportType(int pTransportType)
                      throws java.io.IOException,
                             AutomationException
Transport Type.

Parameters:
pTransportType - A com.esri.arcgis.system.esriTransportType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.