com.esri.arcgis.geodatabase
Class VersionInfo

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

public class VersionInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IVersionInfo, IVersionInfo2

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

Description 'VersionInfo 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
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionInfo2
IID, IID0d147c7b_7284_4779_8fcc_072bb6891a32, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionInfo
IID904c01cf_0ed9_11d3_9f3e_00c04f6bddd9
 
Constructor Summary
VersionInfo(java.lang.Object obj)
          Construct a VersionInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 int getAccess()
          The version's access permission.
 IEnumVersionInfo getAncestors()
          The version's ancestors.
 IEnumVersionInfo getChildren()
          The version's children.
 java.lang.Object getCreated()
          The date and time the version was created.
 java.lang.String getDescription()
          The version's description.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getModified()
          The date and time the version was last modified.
 IVersionInfo getParent()
          The version's parent.
 java.lang.String getParentName()
          The name of the version's parent.
 java.lang.String getVersionName()
          The version's name.
 int hashCode()
          the hashcode for this object
 boolean isBlocksCompress()
          Does this version block compress of DEFAULT
 boolean isOwner()
          True if the current connected user is the owner of this version.
 void release()
          Release a VersionInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionInfo

public VersionInfo(java.lang.Object obj)
            throws java.io.IOException
Construct a VersionInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to VersionInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
VersionInfo o = (VersionInfo)obj; // will not work

VersionInfo o = new VersionInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems VersionInfo theVersionInfo = (VersionInfo) obj;
Method Detail

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 VersionInfo.

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

getVersionName

public java.lang.String getVersionName()
                                throws java.io.IOException,
                                       AutomationException
The version's name.

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

getDescription

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

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

getAccess

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

Specified by:
getAccess in interface IVersionInfo
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.

getCreated

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

Specified by:
getCreated in interface IVersionInfo
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getModified

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

Specified by:
getModified in interface IVersionInfo
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParent

public IVersionInfo getParent()
                       throws java.io.IOException,
                              AutomationException
The version's parent.

Specified by:
getParent in interface IVersionInfo
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.

getChildren

public IEnumVersionInfo getChildren()
                             throws java.io.IOException,
                                    AutomationException
The version's children.

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

getAncestors

public IEnumVersionInfo getAncestors()
                              throws java.io.IOException,
                                     AutomationException
The version's ancestors.

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

isOwner

public boolean isOwner()
                throws java.io.IOException,
                       AutomationException
True if the current connected user is the owner of this version.

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

getParentName

public java.lang.String getParentName()
                               throws java.io.IOException,
                                      AutomationException
The name of the version's parent.

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

isBlocksCompress

public boolean isBlocksCompress()
                         throws java.io.IOException,
                                AutomationException
Does this version block compress of DEFAULT

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