com.esri.arcgis.geodatabase
Interface IRelationshipClassName

All Superinterfaces:
Serializable
All Known Implementing Classes:
MemoryRelationshipClassName, RelationshipClassName

public interface IRelationshipClassName
extends Serializable

Provides access to members that return information about the relationship class.

Remarks

The IRelationshipClassName interface includes the Cardinality, Notification, IsAttributed, and IsComposite properties, and also the name object for the parent feature dataset in the case of relationship classes that are contained within a feature dataset.
Name objects are light weight versions of the geodatabase objects they refer to while still providing access to some of the properties/methods available in the geodatabase object. From a name object an instance of the geodatabase object specified by the name object can be created/returned and vice versa.

Product Availability

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


Method Summary
 int getCardinality()
          The Cardinality.
 IDatasetName getFeatureDatasetName()
          The Feature Dataset Name object.
 int getNotification()
          The Notification.
 boolean isAttributed()
          Indicates if Attributed.
 boolean isComposite()
          Indicates if Composite.
 void setCardinality(int cardinality)
          The Cardinality.
 void setFeatureDatasetNameByRef(IDatasetName featureDatasetName)
          The Feature Dataset Name object.
 void setIsAttributed(boolean isAttributed)
          Indicates if Attributed.
 void setIsComposite(boolean isComposite)
          Indicates if Composite.
 void setNotification(int notification)
          The Notification.
 

Method Detail

getFeatureDatasetName

IDatasetName getFeatureDatasetName()
                                   throws IOException,
                                          AutomationException
The Feature Dataset Name object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureDatasetNameByRef

void setFeatureDatasetNameByRef(IDatasetName featureDatasetName)
                                throws IOException,
                                       AutomationException
The Feature Dataset Name object.

Product Availability

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

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

getCardinality

int getCardinality()
                   throws IOException,
                          AutomationException
The Cardinality.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriRelCardinality constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCardinality

void setCardinality(int cardinality)
                    throws IOException,
                           AutomationException
The Cardinality.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
cardinality - A com.esri.arcgis.geodatabase.esriRelCardinality constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNotification

int getNotification()
                    throws IOException,
                           AutomationException
The Notification.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriRelNotification constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNotification

void setNotification(int notification)
                     throws IOException,
                            AutomationException
The Notification.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
notification - A com.esri.arcgis.geodatabase.esriRelNotification constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isComposite

boolean isComposite()
                    throws IOException,
                           AutomationException
Indicates if Composite.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setIsComposite

void setIsComposite(boolean isComposite)
                    throws IOException,
                           AutomationException
Indicates if Composite.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
isComposite - The isComposite (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAttributed

boolean isAttributed()
                     throws IOException,
                            AutomationException
Indicates if Attributed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setIsAttributed

void setIsAttributed(boolean isAttributed)
                     throws IOException,
                            AutomationException
Indicates if Attributed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
isAttributed - The isAttributed (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.