|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.ReplicaDataset
public class ReplicaDataset
Esri Replica Dataset object.
This class contains properties for getting information about each dataset in a replica (Check-out). Like the information returned by the Replica coClass, this information is written to the database during check out. Only datasets that implement ITable, such as a featureclass, table or attributed relationshipclass are returned.
ICheckOut
,
IReplicaValidation
,
ICheckOut.checkOutData(com.esri.arcgis.geodatabase.IReplicaDescription, boolean, String)
,
CheckOut
,
Serialized FormConstructor Summary | |
---|---|
ReplicaDataset()
Constructs a ReplicaDataset using ArcGIS Engine. |
|
ReplicaDataset(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ReplicaDataset theReplicaDataset = (ReplicaDataset) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getDatasetID()
The ID of the dataset. |
String |
getName()
The name of the dataset. |
String |
getParentDatabase()
The name of the master geodatabase the dataset was checked out from. |
String |
getParentOwner()
The owner of the dataset in the master geodatabase. |
int |
getReplicaID()
The ID of the replica associated with this dataset. |
String |
getTargetName()
The target name of the dataset. |
int |
getType()
The type of the dataset. |
int |
hashCode()
the hashcode for this object |
void |
setDatasetID(int rhs1)
The ID of the dataset. |
void |
setName(String rhs1)
The name of the dataset. |
void |
setParentDatabase(String rhs1)
The name of the master geodatabase the dataset was checked out from. |
void |
setParentOwner(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(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ReplicaDataset() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ReplicaDataset(Object obj) throws IOException
ReplicaDataset theReplicaDataset = (ReplicaDataset) obj;
obj
to ReplicaDataset
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws IOException, AutomationException
The Type property will return one of the following:
EsriDTFeatureClass
EsriDTTable
EsriDTRelationshipClass
From these objects, you can determine the associated feature datasets, geometric networks or topologies.
getType
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDatasetID() throws IOException, AutomationException
The DatasetID uniquely identifies the dataset (i.e. feature class, table or attributed relationship class) within the context of the workspace. This ID differs for corresponding datasets on the master and the check-out workspace.
getDatasetID
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getParentOwner() throws IOException, AutomationException
getParentOwner
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getParentDatabase() throws IOException, AutomationException
getParentDatabase
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getReplicaID() throws IOException, AutomationException
getReplicaID
in interface IReplicaDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTargetName() throws IOException, AutomationException
getTargetName
in interface IReplicaDataset2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTargetName(String targetName) throws IOException, AutomationException
setTargetName
in interface IReplicaDataset2
targetName
- The targetName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String rhs1) throws IOException, AutomationException
setName
in interface IReplicaDatasetEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setType(int rhs1) throws IOException, AutomationException
setType
in interface IReplicaDatasetEdit
rhs1
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDatasetID(int rhs1) throws IOException, AutomationException
setDatasetID
in interface IReplicaDatasetEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParentOwner(String rhs1) throws IOException, AutomationException
setParentOwner
in interface IReplicaDatasetEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParentDatabase(String rhs1) throws IOException, AutomationException
setParentDatabase
in interface IReplicaDatasetEdit
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReplicaID(int rhs1) throws IOException, AutomationException
setReplicaID
in interface IReplicaDatasetEdit
rhs1
- The rhs1 (in)
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 |