com.esri.arcgis.geodatabase
Class AttachmentInfo

java.lang.Object
  extended by com.esri.arcgis.geodatabase.AttachmentInfo
All Implemented Interfaces:
IAttachmentInfo, IAttachmentInfo2, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable, java.io.Serializable

public class AttachmentInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAttachmentInfo2, IXMLSerialize, IPersist, IPersistStream, IXMLVersionSupport, java.io.Externalizable

COM Class 'AttachmentInfo'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

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 =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachmentInfo2
IID, IID74060067_8955_44ee_8653_c18f388893c0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IAttachmentInfo
IID74060067_8955_44da_8653_c18f388893ce
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IXMLVersionSupport
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
 
Constructor Summary
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;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 int 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()
          Deprecated. Internal use only.
 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.
 int 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
 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 a AttachmentInfo.
 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(int oID)
          The source ID that to which the attachment is associated to.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AttachmentInfo

public AttachmentInfo()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a AttachmentInfo using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AttachmentInfo

public AttachmentInfo(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AttachmentInfo theAttachmentInfo = (AttachmentInfo) obj;

Construct a AttachmentInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AttachmentInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a AttachmentInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isAttachmentRelationshipGlobalIDBased

public boolean isAttachmentRelationshipGlobalIDBased()
                                              throws java.io.IOException,
                                                     AutomationException
Is the attachment global ID based.

Specified by:
isAttachmentRelationshipGlobalIDBased in interface IAttachmentInfo2
Returns:
The globalIDBased
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobalID

public java.lang.String getGlobalID()
                             throws java.io.IOException,
                                    AutomationException
Global ID that uniquely identifies the attachment.

Specified by:
getGlobalID in interface IAttachmentInfo2
Returns:
The globalID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobalID

public void setGlobalID(java.lang.String globalID)
                 throws java.io.IOException,
                        AutomationException
Global ID that uniquely identifies the attachment.

Specified by:
setGlobalID in interface IAttachmentInfo2
Parameters:
globalID - The globalID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentGlobalID

public java.lang.String getParentGlobalID()
                                   throws java.io.IOException,
                                          AutomationException
The source global ID that to which the attachment is associated to.

Specified by:
getParentGlobalID in interface IAttachmentInfo2
Returns:
The globalID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentGlobalID

public void setParentGlobalID(java.lang.String globalID)
                       throws java.io.IOException,
                              AutomationException
The source global ID that to which the attachment is associated to.

Specified by:
setParentGlobalID in interface IAttachmentInfo2
Parameters:
globalID - The globalID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttachmentID

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

Specified by:
getAttachmentID in interface IAttachmentInfo
Returns:
The attID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Descriptive name of an attachment.

Specified by:
getName in interface IAttachmentInfo
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Descriptive name of an attachment.

Specified by:
setName in interface IAttachmentInfo
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentID

public int getParentID()
                throws java.io.IOException,
                       AutomationException
The source ID that to which the attachment is associated to.

Specified by:
getParentID in interface IAttachmentInfo
Returns:
The oID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentID

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

Specified by:
setParentID in interface IAttachmentInfo
Parameters:
oID - The oID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContentType

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

Specified by:
getContentType in interface IAttachmentInfo
Returns:
The contentType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setContentType

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

Specified by:
setContentType in interface IAttachmentInfo
Parameters:
contentType - The contentType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

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

Specified by:
getSize in interface IAttachmentInfo
Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinNamespaceSupported

public java.lang.String getMinNamespaceSupported()
                                          throws java.io.IOException,
                                                 AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException