public interface IAttachment
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID475e3d30_5478_46c2_9547_09aa7076dce6 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
long |
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.
|
java.lang.String |
getParentGlobalID()
Parent global ID to which the attachment belongs.
|
long |
getParentID()
Parent ID to which the attachment belongs.
|
int |
getSize()
Size of the attachment data in bytes.
|
java.lang.Object |
getValue(int key)
Get the value of a member of the attachemnt by name.
|
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.
|
static final int IID475e3d30_5478_46c2_9547_09aa7076dce6
static final int xxDummy
static final java.lang.String IID
long getAttachmentID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getGlobalID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.long getParentID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setName(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getName() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setContentType(java.lang.String contentType) throws java.io.IOException, AutomationException
contentType
- The contentType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getContentType() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getSize() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setDataByRef(IMemoryBlobStream data) throws java.io.IOException, AutomationException
data
- A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IMemoryBlobStream getData() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getParentGlobalID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object getValue(int key) throws java.io.IOException, AutomationException
key
- A com.esri.arcgis.geodatabase.esriAttachmentTableField constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.