|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.VersionInfo
public class VersionInfo
VersionInfo Object.
Constructor Summary | |
---|---|
VersionInfo(Object obj)
Construct a VersionInfo using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(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. |
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. |
IVersionInfo |
getParent()
The version's parent. |
String |
getVersionName()
The version's name. |
int |
hashCode()
the hashcode for this object |
boolean |
isOwner()
True if the current connected user is the owner of this version. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public VersionInfo(Object obj) throws IOException
obj
to VersionInfo
. *
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
IOException
- if there are interop problems
VersionInfo theVersionInfo = (VersionInfo) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getVersionName() throws IOException, AutomationException
The VersionName method is used to retrieve a version's name. The name will be qualified with the owner of the version. For example, for a version called "MyWorkOrder" owned by the user "GIS", VersionName will return "GIS.MyWorkOrder"
getVersionName
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
The Description method is used to retrieve a version's description.
getDescription
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAccess() throws IOException, AutomationException
The Access method is used to retrieve a version's permission. The permission can be private, public or protected.
getAccess
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCreated() throws IOException, AutomationException
The Created method is used to retrieve the date when the version was created.
getCreated
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getModified() throws IOException, AutomationException
The Modified method is used to retrieve the date when the version was last modified.
getModified
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IVersionInfo getParent() throws IOException, AutomationException
The Parent method is used to retrieve the version's parent version properties.
getParent
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumVersionInfo getChildren() throws IOException, AutomationException
The Children method is used to retrieve an IEnumVersionInfo enumeration of all the version's that were created from the current version. The IEnumVersionInfo enumeration is then used to obtain an IVersionInfo object for the child version.
getChildren
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumVersionInfo getAncestors() throws IOException, AutomationException
The Ancestors method is used to retrieve an IEnumVersionInfo enumeration of all the version's that are in the ancestral lineage for the current version. For example, the parent version, the grandparent version, etc. all the way back to the default version. The IEnumVersionInfo enumeration is then used to obtain an IVersionInfo object for each version.
getAncestors
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOwner() throws IOException, AutomationException
The IsOwner method is used to retrieve a boolean value to determine if the currently connected user owns the version.
isOwner
in interface IVersionInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |