com.esri.arcgis.geodatabase
Interface IFeatureClassEdit

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotationFeatureClassExtension

public interface IFeatureClassEdit
extends Serializable

Provides access to information about feature class editing properties.

Description

The IFeatureClassEdit interface is an optional interface for class extensions, used for specifying advanced editing configuration for a feature class or object class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

Method Summary
 int getCustomSplitPolicyForRelationship(IRow row, IRelationshipClass relClass)
          The custom split policy for handling relationships.
 boolean hasCustomSplitPolicyForRelationship()
          True if the feature class has a custom split policy for handling relationships.
 boolean isCanEditWithProjection()
          Indicates if the associated feature class can be edited in projected spaces.
 

Method Detail

isCanEditWithProjection

boolean isCanEditWithProjection()
                                throws IOException,
                                       AutomationException
Indicates if the associated feature class can be edited in projected spaces.

Remarks

ArcMap supports the editing of simple features in a different spatial reference than that of the feature dataset. If the associated feature class is of type esriFTSimple, editing of the feature class in different spatial reference can be prevented by implementing the CanEditWithProjection property and returning False.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The isEditable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

hasCustomSplitPolicyForRelationship

boolean hasCustomSplitPolicyForRelationship()
                                            throws IOException,
                                                   AutomationException
True if the feature class has a custom split policy for handling relationships.

Remarks

When a feature with related objects is split, the relationships are modified depending on the type (simple or composite) and cardinality of the relationship class. If the default behavior is not appropriate for a class, return True for the HasCustomSplitPolicy method. Through the CustomSplitPolicyForRelationship property, a custom split policy can be specified according to subtype and relationship.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The hasCustomPolicy
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

getCustomSplitPolicyForRelationship

int getCustomSplitPolicyForRelationship(IRow row,
                                        IRelationshipClass relClass)
                                        throws IOException,
                                               AutomationException
The custom split policy for handling relationships.

Product Availability

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

Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
relClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelationshipSplitPolicy constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.