com.esri.arcgis.geodatabase
Class ReplicaDataset

java.lang.Object
  extended by com.esri.arcgis.geodatabase.ReplicaDataset
All Implemented Interfaces:
IReplicaDataset, IReplicaDataset2, IReplicaDatasetEdit, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ReplicaDataset
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IReplicaDataset, IReplicaDataset2, IReplicaDatasetEdit

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

Description 'Esri Replica Dataset 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.IReplicaDataset2
IID, IID829135b2_0bd4_4422_971c_19e27b8741ab, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IReplicaDataset
IID4e087148_2c4f_452f_bff0_88c67d3efb15
 
Fields inherited from interface com.esri.arcgis.geodatabase.IReplicaDatasetEdit
IID, IID79db3598_6e18_4921_b4f7_2cc03ad52c47, xxDummy
 
Constructor Summary
ReplicaDataset()
          Constructs a ReplicaDataset using ArcGIS Engine.
ReplicaDataset(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ReplicaDataset theReplicaDataset = (ReplicaDataset) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getDatasetID()
          The ID of the dataset.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the dataset.
 java.lang.String getParentDatabase()
          The name of the master geodatabase the dataset was checked out from.
 java.lang.String getParentOwner()
          The owner of the dataset in the master geodatabase.
 int getReplicaID()
          The ID of the replica associated with this dataset.
 java.lang.String getTargetName()
          The target name of the dataset.
 int getType()
          The type of the dataset.
 int hashCode()
          the hashcode for this object
 void release()
          Release a ReplicaDataset.
 void setDatasetID(int rhs1)
          The ID of the dataset.
 void setName(java.lang.String rhs1)
          The name of the dataset.
 void setParentDatabase(java.lang.String rhs1)
          The name of the master geodatabase the dataset was checked out from.
 void setParentOwner(java.lang.String rhs1)
          The owner of the dataset in the master geodatabase.
 void setReplicaID(int rhs1)
          The ID of the check-out associated with this dataset.
 void setTargetName(java.lang.String targetName)
          The target name of the dataset.
 void setType(int rhs1)
          The type of the dataset.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaDataset

public ReplicaDataset()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a ReplicaDataset using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ReplicaDataset

public ReplicaDataset(java.lang.Object obj)
               throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ReplicaDataset theReplicaDataset = (ReplicaDataset) obj;

Construct a ReplicaDataset using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ReplicaDataset.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the dataset.

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

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the dataset.

Specified by:
getType in interface IReplicaDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetID

public int getDatasetID()
                 throws java.io.IOException,
                        AutomationException
The ID of the dataset.

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

getParentOwner

public java.lang.String getParentOwner()
                                throws java.io.IOException,
                                       AutomationException
The owner of the dataset in the master geodatabase.

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

getParentDatabase

public java.lang.String getParentDatabase()
                                   throws java.io.IOException,
                                          AutomationException
The name of the master geodatabase the dataset was checked out from.

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

getReplicaID

public int getReplicaID()
                 throws java.io.IOException,
                        AutomationException
The ID of the replica associated with this dataset.

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

getTargetName

public java.lang.String getTargetName()
                               throws java.io.IOException,
                                      AutomationException
The target name of the dataset.

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

setTargetName

public void setTargetName(java.lang.String targetName)
                   throws java.io.IOException,
                          AutomationException
The target name of the dataset.

Specified by:
setTargetName in interface IReplicaDataset2
Parameters:
targetName - The targetName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String rhs1)
             throws java.io.IOException,
                    AutomationException
The name of the dataset.

Specified by:
setName in interface IReplicaDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(int rhs1)
             throws java.io.IOException,
                    AutomationException
The type of the dataset.

Specified by:
setType in interface IReplicaDatasetEdit
Parameters:
rhs1 - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDatasetID

public void setDatasetID(int rhs1)
                  throws java.io.IOException,
                         AutomationException
The ID of the dataset.

Specified by:
setDatasetID in interface IReplicaDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentOwner

public void setParentOwner(java.lang.String rhs1)
                    throws java.io.IOException,
                           AutomationException
The owner of the dataset in the master geodatabase.

Specified by:
setParentOwner in interface IReplicaDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentDatabase

public void setParentDatabase(java.lang.String rhs1)
                       throws java.io.IOException,
                              AutomationException
The name of the master geodatabase the dataset was checked out from.

Specified by:
setParentDatabase in interface IReplicaDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReplicaID

public void setReplicaID(int rhs1)
                  throws java.io.IOException,
                         AutomationException
The ID of the check-out associated with this dataset.

Specified by:
setReplicaID in interface IReplicaDatasetEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.