public interface IRelationshipClass
extends java.io.Serializable
Description: 'Provides access to members that return information about the relationship class, create relationships, relationship rules and get related objects.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID22b00693_8895_11d2_8a0d_006097aff44e |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
addRelationshipRule(IRule rule)
Adds a relationship rule to this relationship class.
|
IRelationship |
createRelationship(IObject originObject,
IObject destinationObject)
Creates a new relationship between the two specified objects.
|
void |
deleteRelationship(IObject originObject,
IObject destinationObject)
Deletes the relationship that associates the two specified objects.
|
void |
deleteRelationshipRule(IRule rule)
Deletes a relationship rule from this relationship class.
|
void |
deleteRelationshipsForObject(IObject anObject)
Deletes all relationships that apply to a specified object.
|
void |
deleteRelationshipsForObjectSet(ISet anObjectSet)
Deletes all relationships that apply to the specified origin or destination object set.
|
java.lang.String |
getBackwardPathLabel()
The backward path label for the relationship class.
|
int |
getCardinality()
The cardinality for the relationship class.
|
IObjectClass |
getDestinationClass()
The destination object class.
|
java.lang.String |
getDestinationForeignKey()
The relationship destination foreign Key.
|
java.lang.String |
getDestinationPrimaryKey()
The relationship destination primary Key.
|
IFeatureDataset |
getFeatureDataset()
The feature dataset, if any, to which this relationship class belongs.
|
java.lang.String |
getForwardPathLabel()
The forward path label for the relationship class.
|
int |
getNotification()
The notification direction for the relationship class.
|
IRelClassEnumRowPairs |
getObjectsMatchingObjectSet(ISet srcObjectSet)
Gets rows pairs of objects that are related to the specified origin or destination object set.
|
ISet |
getObjectsRelatedToObject(IObject anObject)
Gets the objects that are related to the specified object.
|
ISet |
getObjectsRelatedToObjectSet(ISet anObjectSet)
Gets the objects that are related to the specified origin or destination object set.
|
IObjectClass |
getOriginClass()
The origin object class.
|
java.lang.String |
getOriginForeignKey()
The relationship origin foreign Key.
|
java.lang.String |
getOriginPrimaryKey()
The relationship origin primary Key.
|
IRelationship |
getRelationship(IObject originObject,
IObject destinationObject)
Get the relationship that associates the two specified objects.
|
int |
getRelationshipClassID()
The relationship class ID.
|
IEnumRule |
getRelationshipRules()
The relationship rules that apply to this relationship class.
|
IEnumRelationship |
getRelationshipsForObject(IObject anObject)
Get all relationships that apply to a specified object.
|
IEnumRelationship |
getRelationshipsForObjectSet(ISet anObjectSet)
Get all relationships that apply to the specified origin or destination object set.
|
boolean |
isAttributed()
Indicates if the relationships in this relationship class have attributes.
|
boolean |
isComposite()
Indicates if the relationship class represents a composite relationship in which the origin object class represents the composite object.
|
static final int IID22b00693_8895_11d2_8a0d_006097aff44e
static final int xxDummy
static final java.lang.String IID
java.lang.String getOriginPrimaryKey() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getDestinationPrimaryKey() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getOriginForeignKey() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getDestinationForeignKey() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getRelationshipClassID() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IObjectClass getOriginClass() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IObjectClass getDestinationClass() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IFeatureDataset getFeatureDataset() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getForwardPathLabel() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getBackwardPathLabel() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCardinality() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getNotification() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isAttributed() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isComposite() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRelationship createRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
originObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)destinationObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRelationship getRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
originObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)destinationObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deleteRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
originObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)destinationObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.ISet getObjectsRelatedToObject(IObject anObject) throws java.io.IOException, AutomationException
anObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRelationship getRelationshipsForObject(IObject anObject) throws java.io.IOException, AutomationException
anObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deleteRelationshipsForObject(IObject anObject) throws java.io.IOException, AutomationException
anObject
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.ISet getObjectsRelatedToObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
anObjectSet
- A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRelationship getRelationshipsForObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
anObjectSet
- A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IRelClassEnumRowPairs getObjectsMatchingObjectSet(ISet srcObjectSet) throws java.io.IOException, AutomationException
srcObjectSet
- A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deleteRelationshipsForObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
anObjectSet
- A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumRule getRelationshipRules() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addRelationshipRule(IRule rule) throws java.io.IOException, AutomationException
rule
- A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deleteRelationshipRule(IRule rule) throws java.io.IOException, AutomationException
rule
- A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.