|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPReplicaDataset
Provides access to members that return the properties of a replica dataset.
This interface has properties that describe the datasets in a replica.
Method Summary | |
---|---|
int |
getDatasetType()
The dataset type. |
String |
getDefQuery()
Definition query for the replica dataset. |
String |
getName()
The name of the dataset. |
String |
getRelDestinationClass()
The destination class for the relationship class. |
int |
getRelExtractDirection()
Defines the direction of the replicated relationship class. |
String |
getRelOriginClass()
The origin class for the relationship class. |
int |
getRowsType()
Defines the replicated rows. |
ILongArray |
getSelectionIDs()
Array of selected IDs. |
boolean |
isPrivate()
Indicates if the replica dataset is private. |
boolean |
isUseGeometry()
Indicates if the geometry defined in the replica description is applied to the replica dataset. |
void |
setDatasetType(int datasetType)
The dataset type. |
void |
setDefQuery(String defQuery)
Definition query for the replica dataset. |
void |
setIsPrivate(boolean isPrivate)
Indicates if the replica dataset is private. |
void |
setName(String name)
The name of the dataset. |
void |
setRelDestinationClass(String destClass)
The destination class for the relationship class. |
void |
setRelExtractDirection(int relExtractDir)
Defines the direction of the replicated relationship class. |
void |
setRelOriginClass(String originClass)
The origin class for the relationship class. |
void |
setRowsType(int rowsType)
Defines the replicated rows. |
void |
setSelectionIDsByRef(ILongArray longArray)
Array of selected IDs. |
void |
setUseGeometry(boolean useGeometry)
Indicates if the geometry defined in the replica description is applied to the replica dataset. |
Method Detail |
---|
void setName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
Returns the name of the dataset.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDatasetType(int datasetType) throws IOException, AutomationException
datasetType
- A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDatasetType() throws IOException, AutomationException
The DatasetType property will return one of the following:
esriDTFeatureClass
esriDTTable
esriDTRelationshipClass
From these values, you can determine the associated feature datasets, geometric networks or topologies.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRowsType(int rowsType) throws IOException, AutomationException
This property allows you to control, on an individual dataset level whether all data, only the schema or only data satisfying the other IGPReplicaDataset properties will be replicated.
By default, FeatureClasses are set to esriRowsTypeFilter while tables return esriRowsTypeNone. See the esriRowsType enumeration for more information.
rowsType
- A com.esri.arcgis.geodatabase.esriRowsType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRowsType() throws IOException, AutomationException
Returns the rows type of the replica dataset as a value of the esriRowsType enumeration. Only datasets that return esriRowsTypeFilter apply the filters imposed by the other returned properties in IGPReplicaDataset.
See the esriRowsType enumeration for more information.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setIsPrivate(boolean isPrivate) throws IOException, AutomationException
isPrivate
- The isPrivate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPrivate() throws IOException, AutomationException
Returns TRUE if the dataset is private. Returns FALSE if it is not private
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseGeometry(boolean useGeometry) throws IOException, AutomationException
useGeometry
- The useGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseGeometry() throws IOException, AutomationException
The property is TRUE by default.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefQuery(String defQuery) throws IOException, AutomationException
defQuery
- The defQuery (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDefQuery() throws IOException, AutomationException
The definition query for the replica dataset.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionIDsByRef(ILongArray longArray) throws IOException, AutomationException
longArray
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILongArray getSelectionIDs() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelExtractDirection(int relExtractDir) throws IOException, AutomationException
relExtractDir
- A com.esri.arcgis.geodatabase.esriRelExtractDirection constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getRelExtractDirection() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelOriginClass(String originClass) throws IOException, AutomationException
originClass
- The originClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRelOriginClass() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRelDestinationClass(String destClass) throws IOException, AutomationException
destClass
- The destClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getRelDestinationClass() throws IOException, AutomationException
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 |