com.esri.arcgis.geodatabase
Interface IVersion2

All Superinterfaces:
IVersion, java.io.Serializable
All Known Subinterfaces:
IVersion3
All Known Implementing Classes:
IVersion2Proxy, IVersion3Proxy, VersionedWorkspace

public interface IVersion2
extends IVersion, java.io.Serializable

COM Interface 'IVersion2'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members for managing a version.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IIDe21436a7_87ca_4e97_9f47_d096c8871bae
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersion
IID1a945841_b381_11d1_9ce6_0000f8780619
 
Method Summary
 IVersion createChild(java.lang.String name, IVersion initialStateVersion)
          Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.
 IVersion getCommonAncestor(IVersion otherVersion)
          Finds common ancestor version.
 boolean isRedefined()
          Determines whether the state of the version corresponding to this version object has been redefined in the database.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IVersion
createVersion, delete, getAccess, getDescription, getVersionInfo, getVersionLocks, getVersionName, hasParent, refreshVersion, setAccess, setDescription, setVersionName
 

Field Detail

IIDe21436a7_87ca_4e97_9f47_d096c8871bae

static final int IIDe21436a7_87ca_4e97_9f47_d096c8871bae
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCommonAncestor

IVersion getCommonAncestor(IVersion otherVersion)
                           throws java.io.IOException,
                                  AutomationException
Finds common ancestor version.

Parameters:
otherVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createChild

IVersion createChild(java.lang.String name,
                     IVersion initialStateVersion)
                     throws java.io.IOException,
                            AutomationException
Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.

Parameters:
name - The name (in)
initialStateVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRedefined

boolean isRedefined()
                    throws java.io.IOException,
                           AutomationException
Determines whether the state of the version corresponding to this version object has been redefined in the database.

Returns:
The isRedef
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.