|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.Relationship
public class Relationship
ESRI Relationship object.
Constructor Summary | |
---|---|
Relationship(Object obj)
Construct a Relationship using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IObject |
getDestinationObject()
The destination object. |
IObject |
getOriginObject()
The origin object. |
IRelationshipClass |
getRelationshipClass()
The relationship class to which this relationship belongs. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Relationship(Object obj) throws IOException
obj
to Relationship
. *
Relationship o = (Relationship)obj; // will not work
Relationship o = new Relationship(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
Relationship theRelationship = (Relationship) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IRelationshipClass getRelationshipClass() throws IOException, AutomationException
getRelationshipClass
in interface IRelationship
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObject getOriginObject() throws IOException, AutomationException
getOriginObject
in interface IRelationship
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IObject getDestinationObject() throws IOException, AutomationException
getDestinationObject
in interface IRelationship
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |