public class AttachmentInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAttachmentInfo, IXMLSerialize, IPersist, IPersistStream, IXMLVersionSupport, java.io.Externalizable
Description 'Esri AttachmentInfo object.' 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 long |
serialVersionUID |
IID, IID74060067_8955_44da_8653_c18f388893ce, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
Constructor and Description |
---|
AttachmentInfo()
Constructs a AttachmentInfo using ArcGIS Engine.
|
AttachmentInfo(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AttachmentInfo theAttachmentInfo = (AttachmentInfo) obj; |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
long |
getAttachmentID()
ID that uniquely identifies an attachment.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getContentType()
Content type that indicates the type of the mime content.
|
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 |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
java.lang.String |
getName()
Descriptive name of an attachment.
|
java.lang.String |
getParentGlobalID()
The source global ID that to which the attachment is associated to.
|
long |
getParentID()
The source ID that to which the attachment is associated to.
|
int |
getSize()
The size of the attachment.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.Object |
getValue(int key)
put a value in a member of the attachemnt using name.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isAttachmentRelationshipGlobalIDBased()
Is the attachment global ID based.
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setContentType(java.lang.String contentType)
Content type that indicates the type of the mime content.
|
void |
setGlobalID(java.lang.String globalID)
Global ID that uniquely identifies the attachment.
|
void |
setName(java.lang.String name)
Descriptive name of an attachment.
|
void |
setParentGlobalID(java.lang.String globalID)
The source global ID that to which the attachment is associated to.
|
void |
setParentID(long oID)
The source ID that to which the attachment is associated to.
|
void |
setValue(int key,
java.lang.Object value)
put a value in a member of the attachemnt using name.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public AttachmentInfo() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AttachmentInfo(java.lang.Object obj) throws java.io.IOException
AttachmentInfo theAttachmentInfo = (AttachmentInfo) obj;
obj
to AttachmentInfo
.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.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 long getAttachmentID() throws java.io.IOException, AutomationException
getAttachmentID
in interface IAttachmentInfo
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 IAttachmentInfo
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 IAttachmentInfo
name
- The name (in)java.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 IAttachmentInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setParentID(long oID) throws java.io.IOException, AutomationException
setParentID
in interface IAttachmentInfo
oID
- Signed 64-bit int (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 IAttachmentInfo
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 IAttachmentInfo
contentType
- The contentType (in)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 IAttachmentInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAttachmentRelationshipGlobalIDBased() throws java.io.IOException, AutomationException
isAttachmentRelationshipGlobalIDBased
in interface IAttachmentInfo
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 IAttachmentInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGlobalID(java.lang.String globalID) throws java.io.IOException, AutomationException
setGlobalID
in interface IAttachmentInfo
globalID
- The globalID (in)java.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 IAttachmentInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setParentGlobalID(java.lang.String globalID) throws java.io.IOException, AutomationException
setParentGlobalID
in interface IAttachmentInfo
globalID
- The globalID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setValue(int key, java.lang.Object value) throws java.io.IOException, AutomationException
setValue
in interface IAttachmentInfo
key
- A com.esri.arcgis.geodatabase.esriAttachmentTableField constant (in)value
- A Variant (in)java.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 IAttachmentInfo
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.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException