com.esri.arcgis.geodatabaseextensions
Interface ICadastralTransformationData

All Superinterfaces:
Serializable
All Known Implementing Classes:
CadastralTransformationData

public interface ICadastralTransformationData
extends Serializable

Provides access to members that manage the data used by the cadastral transformation.

Remarks

Use ICadastralTransformationData to hold the feature classes to be adjusted together with their target adjustment levels.

The ICadastralTransformation interface on the CadastralTransformation coclass can be used to apply adjustments held within a cadastral fabric to feature classes. Any feature class that is to be adjusted must already have been associated with a cadastral fabric and been given an initial adjustment level using the CadastralAdjustmentLevel coclass.

The feature classes to be adjusted and their target adjustment levels are specified using a CadastralTransformationData object which must be cocreated, populated via the ICadastralTransformationData interface and associated with the CadastralTransformation object using the put_CadastralTransformationData method. The cadastral fabric holding the adjustments to be applied must also be associated with the CadastralTransformation object via the put_CadastralFabric method.

Once the CadastralTransformationData and CadastralFabric have been specified, the Transform method is used to trigger the adjustments. Each feature class specified is adjusted up to its target adjustment level (or the highest avialable adjustment level if this is lower) from the level already stored for that feature class in the adjustment level table. Once adjusted, the adjustment level table is ammended to reflect the new level. Any feature classes which are not associated with the given cadastral fabric will be ignored.

Feature classes and their corresponding target adjustment levels are added to the CadastralTransformationData object by calling the AddData method, specifying the feature class name via an IName interface, and the target adjustment level. Specifying a feature class which has already been added will replace the older entry with the newer one. The get_TransDataCount method can be used to retrieve the number of feature classes which have been added to the CadastralTransformationData object. The added data can be retrieved using the GetData method, using an index to specify the data pair to be retrieved. The Clear method can be used to remove all data from the CadastralTransformationData object.

Product Availability

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


Method Summary
 void addData(IName name, int adjustmentLevel)
          Add a featureClassID, adjustmentLevel pair.
 void clear()
          Clear all the data.
 void getData(int index, IName[] name, int[] adjustmentLevel)
          Retrieve a featureClassName, adjustmentLevel pair.
 int getTransDataCount()
          Retrieve the number of entries.
 

Method Detail

addData

void addData(IName name,
             int adjustmentLevel)
             throws IOException,
                    AutomationException
Add a featureClassID, adjustmentLevel pair.

Remarks

Add a feature class name and its corresponding target adjustment level to this CadastralTransformationData object.

The target adjustment level must be greater than zero. If the feature class specified has already been added to the CadastralTransformationData object, the new target adjustment level replaces the old value.

Product Availability

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

Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
adjustmentLevel - The adjustmentLevel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getData

void getData(int index,
             IName[] name,
             int[] adjustmentLevel)
             throws IOException,
                    AutomationException
Retrieve a featureClassName, adjustmentLevel pair.

Remarks

Retrieve a feature class name, target adjustment level data-pair from this object using an index.

The index value must be within the range 0 <= index < count, where count is the number of data pairs stored on this object and can be obtained using the TransDataCount method.

Product Availability

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

Parameters:
index - The index (in)
name - A reference to a com.esri.arcgis.system.IName (in/out: use single element array)
adjustmentLevel - The adjustmentLevel (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransDataCount

int getTransDataCount()
                      throws IOException,
                             AutomationException
Retrieve the number of entries.

Remarks

The number of feature class name & adjustment level pairs stored on this object.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws IOException,
                  AutomationException
Clear all the data.

Remarks

Clear all data stored on this object.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.