com.esri.arcgis.geodatabase
Interface IAttachmentInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
AttachmentInfo

public interface IAttachmentInfo
extends Serializable

Provides access to members that describe an attachment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getAttachmentID()
          ID that uniquely identifies an attachment.
 String getContentType()
          Content type that indicates the type of the mime content.
 String getName()
          Descriptive name of an attachment.
 int getParentID()
          The source id that to which the attachment is associated to.
 int getSize()
          The size of the attachment.
 void setContentType(String contentType)
          Content type that indicates the type of the mime content.
 void setName(String name)
          Descriptive name of an attachment.
 void setParentID(int oID)
          The source id that to which the attachment is associated to.
 

Method Detail

getAttachmentID

int getAttachmentID()
                    throws IOException,
                           AutomationException
ID that uniquely identifies an attachment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getName

String getName()
               throws IOException,
                      AutomationException
Descriptive name of an attachment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setName

void setName(String name)
             throws IOException,
                    AutomationException
Descriptive name of an attachment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getParentID

int getParentID()
                throws IOException,
                       AutomationException
The source id that to which the attachment is associated to.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setParentID

void setParentID(int oID)
                 throws IOException,
                        AutomationException
The source id that to which the attachment is associated to.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getContentType

String getContentType()
                      throws IOException,
                             AutomationException
Content type that indicates the type of the mime content.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setContentType

void setContentType(String contentType)
                    throws IOException,
                           AutomationException
Content type that indicates the type of the mime content.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getSize

int getSize()
            throws IOException,
                   AutomationException
The size of the attachment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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