com.esri.arcgis.geodatabase
Class IGeoDatasetSchemaEdit2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IGeoDatasetSchemaEditProxy
          extended by com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit2Proxy
All Implemented Interfaces:
IGeoDatasetSchemaEdit, IGeoDatasetSchemaEdit2, Externalizable, Serializable

public class IGeoDatasetSchemaEdit2Proxy
extends IGeoDatasetSchemaEditProxy
implements IGeoDatasetSchemaEdit2, Serializable

Provides access to members that change the geodata transformation of a GeoDataset.

Remarks

The IGeoDatasetSchemaEdit2 interface is an optional interface that allows you to change the transformation associated with an existing dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGeoDatasetSchemaEdit2Proxy()
           
  IGeoDatasetSchemaEdit2Proxy(Object obj)
           
protected IGeoDatasetSchemaEdit2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void alterGeodataXform(IGeodataXform xform)
          Alters the geodata transformation of the dataset (does not transform the data).
 void alterResolution(double xyResolution, double zResolution, double mResolution)
          Alters the resolution of the dataset and rebuilds the spatial indexes.
 void constructResolutions(ISpatialReference spatialReference, int numberRequested, int[] defaultXYResolutionIndex, IDoubleArray[] xyResolutions, IDoubleArray[] zResolutions, IDoubleArray[] mResolutions)
          Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference.
 boolean isCanAlterGeodataXform()
          Indicates if the geodata transformation of the dataset can be altered.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IGeoDatasetSchemaEditProxy
alterSpatialReference, isCanAlterSpatialReference
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit
alterSpatialReference, isCanAlterSpatialReference
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGeoDatasetSchemaEdit2Proxy

public IGeoDatasetSchemaEdit2Proxy()

IGeoDatasetSchemaEdit2Proxy

public IGeoDatasetSchemaEdit2Proxy(Object obj)
                            throws IOException
Throws:
IOException

IGeoDatasetSchemaEdit2Proxy

protected IGeoDatasetSchemaEdit2Proxy(Object obj,
                                      String iid)
                               throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IGeoDatasetSchemaEditProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IGeoDatasetSchemaEditProxy
Throws:
IOException

isCanAlterGeodataXform

public boolean isCanAlterGeodataXform()
                               throws IOException,
                                      AutomationException
Indicates if the geodata transformation of the dataset can be altered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isCanAlterGeodataXform in interface IGeoDatasetSchemaEdit2
Returns:
The canAlter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterGeodataXform

public void alterGeodataXform(IGeodataXform xform)
                       throws IOException,
                              AutomationException
Alters the geodata transformation of the dataset (does not transform the data).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
alterGeodataXform in interface IGeoDatasetSchemaEdit2
Parameters:
xform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterResolution

public void alterResolution(double xyResolution,
                            double zResolution,
                            double mResolution)
                     throws IOException,
                            AutomationException
Alters the resolution of the dataset and rebuilds the spatial indexes.

Remarks

AlterResolution will change the resolution of the dataset based on the supplied XY, Z and M resolution values and rebuild the spatial indices. AlterResolution can only be used on Low Precision datasets within a 9.2 Geodatabase. To determine if AlterPrecision can be used on dataset, use the IControlPrecision2::IsHighPrecision property.

Use the IGeoDatasetSchemaEdit2::ConstructResolutions method to obtain the applicable levels of resolution for your data.

If a value of -1 is supplied for the xyResolution or zResolution arguments, the current resolution will be maintained. The current resolution of for a dataset can be obtained from its spatial reference using the ISpatialReferenceResolution interface.

Any of the following scenarios will result in an error:

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
alterResolution in interface IGeoDatasetSchemaEdit2
Parameters:
xyResolution - The xyResolution (in)
zResolution - The zResolution (in)
mResolution - The mResolution (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

constructResolutions

public void constructResolutions(ISpatialReference spatialReference,
                                 int numberRequested,
                                 int[] defaultXYResolutionIndex,
                                 IDoubleArray[] xyResolutions,
                                 IDoubleArray[] zResolutions,
                                 IDoubleArray[] mResolutions)
                          throws IOException,
                                 AutomationException
Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference. The zeroth returned element is the current precision of the spatial reference.

Remarks

ConstructResolutions should be used to determine the acceptable levels of resolution available for AlterResolution.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
constructResolutions in interface IGeoDatasetSchemaEdit2
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
numberRequested - The numberRequested (in)
defaultXYResolutionIndex - The defaultXYResolutionIndex (out: use single element array)
xyResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
zResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
mResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.