public class Attachment extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAttachment
Description '.' 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 =
IID, IID475e3d30_5478_46c2_9547_09aa7076dce6, xxDummy| Constructor and Description |
|---|
Attachment()
Constructs a Attachment using ArcGIS Engine.
|
Attachment(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Attachment theAttachment = (Attachment) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
long |
getAttachmentID()
ID that uniquely identifies the attachment.
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
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.
|
public Attachment()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic Attachment(java.lang.Object obj)
throws java.io.IOException
Attachment theAttachment = (Attachment) obj;obj to Attachment.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic long getAttachmentID()
throws java.io.IOException,
AutomationException
getAttachmentID in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getGlobalID()
throws java.io.IOException,
AutomationException
getGlobalID in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long getParentID()
throws java.io.IOException,
AutomationException
getParentID in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface IAttachmentname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setContentType(java.lang.String contentType)
throws java.io.IOException,
AutomationException
setContentType in interface IAttachmentcontentType - The contentType (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getContentType()
throws java.io.IOException,
AutomationException
getContentType in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSize()
throws java.io.IOException,
AutomationException
getSize in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDataByRef(IMemoryBlobStream data) throws java.io.IOException, AutomationException
setDataByRef in interface IAttachmentdata - 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.public IMemoryBlobStream getData() throws java.io.IOException, AutomationException
getData in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getParentGlobalID()
throws java.io.IOException,
AutomationException
getParentGlobalID in interface IAttachmentjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getValue(int key)
throws java.io.IOException,
AutomationException
getValue in interface IAttachmentkey - A com.esri.arcgis.geodatabase.esriAttachmentTableField constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.