com.esri.arcgis.geodatabase
Class VersionEvents2

java.lang.Object
  extended by com.esri.arcgis.geodatabase.VersionEvents2
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class VersionEvents2
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef

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

Description 'Helper coclass for working with the outbound interface IVersionEvents2.' 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

Constructor Summary
VersionEvents2()
          Constructs a VersionEvents2 using ArcGIS Engine.
VersionEvents2(java.lang.Object obj)
          Construct a VersionEvents2 using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIVersionEvents2Listener(IVersionEvents2 theListener)
          addIVersionEvents2Listener.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a VersionEvents2.
 void removeIVersionEvents2Listener(IVersionEvents2 theListener)
          removeIVersionEvents2Listener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionEvents2

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

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

VersionEvents2

public VersionEvents2(java.lang.Object obj)
               throws java.io.IOException
Construct a VersionEvents2 using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to VersionEvents2.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems VersionEvents2 theVersionEvents2 = (VersionEvents2) obj;
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

addIVersionEvents2Listener

public void addIVersionEvents2Listener(IVersionEvents2 theListener)
                                throws java.io.IOException
addIVersionEvents2Listener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IVersionEvents2 interface.
Throws:
java.io.IOException - If there are communications problems.

removeIVersionEvents2Listener

public void removeIVersionEvents2Listener(IVersionEvents2 theListener)
                                   throws java.io.IOException
removeIVersionEvents2Listener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IVersionEvents2 interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a VersionEvents2.

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