com.esri.arcgis.geodatabase
Interface IAttachment

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IAttachment2
All Known Implementing Classes:
Attachment, IAttachment2Proxy, IAttachmentProxy

public interface IAttachment
extends java.io.Serializable

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

Description: 'Provides access to members of 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 IID475e3d30_5478_46c2_9547_09aa7076dce6
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getAttachmentID()
          ID that uniquely identifies the attachment.
 java.lang.String getContentType()
          Content type that describes the attachment data.
 IMemoryBlobStream getData()
          Attachment data.
 java.lang.String getGlobalID()
          Global ID that uniquely identifies the attachment.
 java.lang.String getName()
          Name of the attachment.
 int getParentID()
          Parent ID to which the attachment belongs.
 int getSize()
          Size of the attachment data in bytes.
 void setContentType(java.lang.String contentType)
          Content type that describes the attachment data.
 void setDataByRef(IMemoryBlobStream data)
          Attachment data.
 void setName(java.lang.String name)
          Name of the attachment.
 

Field Detail

IID475e3d30_5478_46c2_9547_09aa7076dce6

static final int IID475e3d30_5478_46c2_9547_09aa7076dce6
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

getAttachmentID

int getAttachmentID()
                    throws java.io.IOException,
                           AutomationException
ID that uniquely identifies the attachment.

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

getGlobalID

java.lang.String getGlobalID()
                             throws java.io.IOException,
                                    AutomationException
Global ID that uniquely identifies the attachment.

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

getParentID

int getParentID()
                throws java.io.IOException,
                       AutomationException
Parent ID to which the attachment belongs.

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

setName

void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Name of the attachment.

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

getName

java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the attachment.

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

setContentType

void setContentType(java.lang.String contentType)
                    throws java.io.IOException,
                           AutomationException
Content type that describes the attachment data.

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

getContentType

java.lang.String getContentType()
                                throws java.io.IOException,
                                       AutomationException
Content type that describes the attachment data.

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

getSize

int getSize()
            throws java.io.IOException,
                   AutomationException
Size of the attachment data in bytes.

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

setDataByRef

void setDataByRef(IMemoryBlobStream data)
                  throws java.io.IOException,
                         AutomationException
Attachment data.

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

getData

IMemoryBlobStream getData()
                          throws java.io.IOException,
                                 AutomationException
Attachment data.

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