public class IRelationshipClassProxy extends com.esri.arcgis.interop.Dispatch implements IRelationshipClass, 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 |
---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID22b00693_8895_11d2_8a0d_006097aff44e
Modifier | Constructor and Description |
---|---|
|
IRelationshipClassProxy()
For internal use only
|
|
IRelationshipClassProxy(java.lang.Object obj) |
protected |
IRelationshipClassProxy(java.lang.Object obj,
java.lang.String iid) |
|
IRelationshipClassProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IRelationshipClassProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
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.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
public static final java.lang.Class targetClass
public boolean noncastable
public IRelationshipClassProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IRelationshipClassProxy()
public IRelationshipClassProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IRelationshipClassProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IRelationshipClassProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public java.lang.String getOriginPrimaryKey() throws java.io.IOException, AutomationException
getOriginPrimaryKey
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDestinationPrimaryKey() throws java.io.IOException, AutomationException
getDestinationPrimaryKey
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getOriginForeignKey() throws java.io.IOException, AutomationException
getOriginForeignKey
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDestinationForeignKey() throws java.io.IOException, AutomationException
getDestinationForeignKey
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getRelationshipClassID() throws java.io.IOException, AutomationException
getRelationshipClassID
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IObjectClass getOriginClass() throws java.io.IOException, AutomationException
getOriginClass
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IObjectClass getDestinationClass() throws java.io.IOException, AutomationException
getDestinationClass
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFeatureDataset getFeatureDataset() throws java.io.IOException, AutomationException
getFeatureDataset
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getForwardPathLabel() throws java.io.IOException, AutomationException
getForwardPathLabel
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getBackwardPathLabel() throws java.io.IOException, AutomationException
getBackwardPathLabel
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCardinality() throws java.io.IOException, AutomationException
getCardinality
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getNotification() throws java.io.IOException, AutomationException
getNotification
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAttributed() throws java.io.IOException, AutomationException
isAttributed
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isComposite() throws java.io.IOException, AutomationException
isComposite
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRelationship createRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
createRelationship
in interface IRelationshipClass
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.public IRelationship getRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
getRelationship
in interface IRelationshipClass
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.public void deleteRelationship(IObject originObject, IObject destinationObject) throws java.io.IOException, AutomationException
deleteRelationship
in interface IRelationshipClass
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.public ISet getObjectsRelatedToObject(IObject anObject) throws java.io.IOException, AutomationException
getObjectsRelatedToObject
in interface IRelationshipClass
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.public IEnumRelationship getRelationshipsForObject(IObject anObject) throws java.io.IOException, AutomationException
getRelationshipsForObject
in interface IRelationshipClass
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.public void deleteRelationshipsForObject(IObject anObject) throws java.io.IOException, AutomationException
deleteRelationshipsForObject
in interface IRelationshipClass
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.public ISet getObjectsRelatedToObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
getObjectsRelatedToObjectSet
in interface IRelationshipClass
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.public IEnumRelationship getRelationshipsForObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
getRelationshipsForObjectSet
in interface IRelationshipClass
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.public IRelClassEnumRowPairs getObjectsMatchingObjectSet(ISet srcObjectSet) throws java.io.IOException, AutomationException
getObjectsMatchingObjectSet
in interface IRelationshipClass
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.public void deleteRelationshipsForObjectSet(ISet anObjectSet) throws java.io.IOException, AutomationException
deleteRelationshipsForObjectSet
in interface IRelationshipClass
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.public IEnumRule getRelationshipRules() throws java.io.IOException, AutomationException
getRelationshipRules
in interface IRelationshipClass
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addRelationshipRule(IRule rule) throws java.io.IOException, AutomationException
addRelationshipRule
in interface IRelationshipClass
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.public void deleteRelationshipRule(IRule rule) throws java.io.IOException, AutomationException
deleteRelationshipRule
in interface IRelationshipClass
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.