com.esri.arcgis.geodatabase
Interface IVersion

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

public interface IVersion
extends java.io.Serializable

COM Interface 'IVersion'. Generated 3/19/2015 1:20:52 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 IID1a945841_b381_11d1_9ce6_0000f8780619
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IVersion createVersion(java.lang.String newName)
          Creates a new version equivalent to this version.
 void delete()
          Permanently deletes the version from the database.
 int getAccess()
          The version's access permission.
 java.lang.String getDescription()
          The version's description.
 IVersionInfo getVersionInfo()
          This version's information.
 IEnumLockInfo getVersionLocks()
          This version's locks.
 java.lang.String getVersionName()
          The name of the version.
 boolean hasParent()
          True if this version have a parent version.
 void refreshVersion()
          Refreshes the version with the corresponding database state.
 void setAccess(int access)
          The version's access permission.
 void setDescription(java.lang.String description)
          The version's description.
 void setVersionName(java.lang.String name)
          The name of the version.
 

Field Detail

IID1a945841_b381_11d1_9ce6_0000f8780619

static final int IID1a945841_b381_11d1_9ce6_0000f8780619
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

getVersionLocks

IEnumLockInfo getVersionLocks()
                              throws java.io.IOException,
                                     AutomationException
This version's locks.

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

getVersionInfo

IVersionInfo getVersionInfo()
                            throws java.io.IOException,
                                   AutomationException
This version's information.

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

getVersionName

java.lang.String getVersionName()
                                throws java.io.IOException,
                                       AutomationException
The name of the version.

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

setVersionName

void setVersionName(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
The name of the version.

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

getDescription

java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The version's description.

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

setDescription

void setDescription(java.lang.String description)
                    throws java.io.IOException,
                           AutomationException
The version's description.

Parameters:
description - The description (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccess

int getAccess()
              throws java.io.IOException,
                     AutomationException
The version's access permission.

Returns:
A com.esri.arcgis.geodatabase.esriVersionAccess constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccess

void setAccess(int access)
               throws java.io.IOException,
                      AutomationException
The version's access permission.

Parameters:
access - A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasParent

boolean hasParent()
                  throws java.io.IOException,
                         AutomationException
True if this version have a parent version.

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

delete

void delete()
            throws java.io.IOException,
                   AutomationException
Permanently deletes the version from the database.

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

refreshVersion

void refreshVersion()
                    throws java.io.IOException,
                           AutomationException
Refreshes the version with the corresponding database state.

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

createVersion

IVersion createVersion(java.lang.String newName)
                       throws java.io.IOException,
                              AutomationException
Creates a new version equivalent to this version.

Parameters:
newName - The newName (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.