com.esri.arcgis.geodatabase
Interface IGPVersionInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPVersionInfo

public interface IGPVersionInfo
extends Serializable

Provides access to members that supply version information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getAccess()
          The version's access permission.
 IStringArray getAncestorNames()
          The names of the ancestor versions.
 IStringArray getChildrenNames()
          The names of the child versions.
 Object getCreated()
          The date and time the version was created.
 String getDescription()
          The version's description.
 Object getModified()
          The date and time the version was last modified.
 String getParentName()
          The name of the parent version.
 String getVersionName()
          The version's name.
 void setAccess(int access)
          The version's access permission.
 void setAncestorNamesByRef(IStringArray names)
          The names of the ancestor versions.
 void setChildrenNamesByRef(IStringArray names)
          The names of the child versions.
 void setCreated(Object date)
          The date and time the version was created.
 void setDescription(String description)
          The version's description.
 void setModified(Object date)
          The date and time the version was last modified.
 void setParentName(String name)
          The name of the parent version.
 void setVersionName(String name)
          The version's name.
 

Method Detail

getVersionName

String getVersionName()
                      throws IOException,
                             AutomationException
The version's name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setVersionName

void setVersionName(String name)
                    throws IOException,
                           AutomationException
The version's name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getDescription

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setDescription

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getAccess

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setAccess

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getCreated

Object getCreated()
                  throws IOException,
                         AutomationException
The date and time the version was created.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCreated

void setCreated(Object date)
                throws IOException,
                       AutomationException
The date and time the version was created.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
date - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getModified

Object getModified()
                   throws IOException,
                          AutomationException
The date and time the version was last modified.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setModified

void setModified(Object date)
                 throws IOException,
                        AutomationException
The date and time the version was last modified.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
date - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentName

String getParentName()
                     throws IOException,
                            AutomationException
The name of the parent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setParentName

void setParentName(String name)
                   throws IOException,
                          AutomationException
The name of the parent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getChildrenNames

IStringArray getChildrenNames()
                              throws IOException,
                                     AutomationException
The names of the child versions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setChildrenNamesByRef

void setChildrenNamesByRef(IStringArray names)
                           throws IOException,
                                  AutomationException
The names of the child versions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
names - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAncestorNames

IStringArray getAncestorNames()
                              throws IOException,
                                     AutomationException
The names of the ancestor versions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

setAncestorNamesByRef

void setAncestorNamesByRef(IStringArray names)
                           throws IOException,
                                  AutomationException
The names of the ancestor versions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
names - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.