com.esri.arcgis.carto
Interface IRelationshipClassCollectionEdit

All Superinterfaces:
Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadFeatureLayer, CoverageAnnotationLayer, DimensionLayer, FDOGraphicsLayer, FeatureLayer, GdbRasterCatalogLayer, IMSSubFeatureLayer, IRelationshipClassCollectionEditProxy, RasterLayer, StandaloneTable

public interface IRelationshipClassCollectionEdit
extends Serializable

Provides access to members that add and remove memory relationship classes from a standalone table or layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void addRelationshipClass(IRelationshipClass relationshipClass)
          Adds the specified memory relationship class to a standalone table or layer.
 void removeAllRelationshipClasses()
          Removes all memory relationship classes from a standalone table or layer.
 void removeRelationshipClass(IRelationshipClass relationshipClass)
          Removes the specified memory relationship class from a standalone table or layer.
 

Method Detail

addRelationshipClass

void addRelationshipClass(IRelationshipClass relationshipClass)
                          throws IOException,
                                 AutomationException
Adds the specified memory relationship class to a standalone table or layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

removeRelationshipClass

void removeRelationshipClass(IRelationshipClass relationshipClass)
                             throws IOException,
                                    AutomationException
Removes the specified memory relationship class from a standalone table or layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

removeAllRelationshipClasses

void removeAllRelationshipClasses()
                                  throws IOException,
                                         AutomationException
Removes all memory relationship classes from a standalone table or layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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