|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabasedistributed.ReplicasExporter
public class ReplicasExporter
ESRI Replicas Exporter object.
Constructor Summary | |
---|---|
ReplicasExporter()
Constructs a ReplicasExporter using ArcGIS Engine. |
|
ReplicasExporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ReplicasExporter theReplicasExporter = (ReplicasExporter) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IFeatureClass |
exportReplicasInfo(IWorkspace pFromWS,
IWorkspace pDestWS,
String fcName,
ISpatialReference sR)
Exports the information for the replicas in a geodatabase into an output feature class. |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
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 ReplicasExporter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ReplicasExporter(Object obj) throws IOException
ReplicasExporter theReplicasExporter = (ReplicasExporter) obj;
obj
to ReplicasExporter
.
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 IFeatureClass exportReplicasInfo(IWorkspace pFromWS, IWorkspace pDestWS, String fcName, ISpatialReference sR) throws IOException, AutomationException
The ExportReplicasInfo method exports the geometries of all replicas in a geodatabase into an output feature class. The output feature class has one row in the feature class per replica in the geodatabase. In each row, the replica geometry that is used as a filter for the replica is stored in the shape column. Each replica property is stored in separate columns. These replica properties include information stored about the replica such as the replicas id, owner, name, state, role, the replica type. You can query the footprint for information, such as finding all replicas waiting to receive messages, or all replicas owned by a particular user.
The shape column always stores polygons. If another geometry type (i.e. a point or a line) is used as the replica geometry, it is buffered and the buffer is stored in the footprint feature class. If no replica geometry was used, a polygon covering the entire extent of the replica is stored in the shape column.
The ExportReplicasInfo method returns a feature class. The pFromWS is the workspace of the replica geodatabase. The pDestWS is the destination workspace for the output feature class. The fcName is the name of the output feature class.
The SR parameter defines the spatial reference of the output feature class. If the SR is empty, the spatial reference will be that of the first replica that is something other than unknown. Unknown will be used if the SR parameter is empty and all replicas have an unknown spatial reference. If only some of the replicas have an unknown spatial reference, a null replica geometry is stored for these replicas.
exportReplicasInfo
in interface IReplicasExporter
pFromWS
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)pDestWS
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)fcName
- The fcName (in)sR
- A reference to a com.esri.arcgis.geometry.ISpatialReference (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 |