|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.Attachment
public class Attachment
COM Class 'Attachment'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'
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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachment2 |
---|
IID, IID475e3d30_5478_46c2_9547_09aa7076d787, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachment |
---|
IID475e3d30_5478_46c2_9547_09aa7076dce6 |
Constructor Summary | |
---|---|
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; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
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()
Deprecated. Internal use only. |
java.lang.String |
getName()
Name of the attachment. |
java.lang.String |
getParentGlobalID()
Parent global ID to which the attachment belongs. |
int |
getParentID()
Parent ID to which the attachment belongs. |
int |
getSize()
Size of the attachment data in bytes. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a Attachment. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attachment() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.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 Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getParentGlobalID() throws java.io.IOException, AutomationException
getParentGlobalID
in interface IAttachment2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAttachmentID() throws java.io.IOException, AutomationException
getAttachmentID
in interface IAttachment
java.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 IAttachment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getParentID() throws java.io.IOException, AutomationException
getParentID
in interface IAttachment
java.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 IAttachment
name
- 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 IAttachment
java.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 IAttachment
contentType
- 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 IAttachment
java.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 IAttachment
java.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 IAttachment
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.public IMemoryBlobStream getData() throws java.io.IOException, AutomationException
getData
in interface IAttachment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |