com.esri.arcgis.schematic
Class SchematicElementAssociation

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicElementAssociation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicElementAssociatedObject, ISchematicElementAssociation, Serializable

public class SchematicElementAssociation
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicElementAssociation, ISchematicElementAssociatedObject

Schematic element association object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicElementAssociation(Object obj)
          Construct a SchematicElementAssociation using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void alterAssociation(int dataSourceID, int uCID, int uOID, int uSUBID, String uGUID)
          Changes the schematic element association.
 void deleteAssociation()
          Deletes the schematic element association.
 boolean equals(Object o)
          Compare this object with another
 IObject getAssociatedObject()
          Associated object if exist.
 IObjectClass getAssociatedObjectClass()
          Associated object class if exist.
 int getDataSourceID()
          Data source ID related to the schematic element assocation.
 int getElementID()
          ID of the schematic element related to the association.
 int getID()
          ID of the schematic association.
 ISchematicElement getSchematicElement()
          Schematic element related to the association.
 int getUCID()
          Class ID related to the schematic element assocation.
 String getUGUID()
          GUID related to the schematic element assocation.
 int getUOID()
          Object ID related to the schematic element assocation.
 int getUSUBID()
          SUBID related to the schematic element assocation.
 int hashCode()
          the hashcode for this object
 void setDataSourceID(int iD)
          Data source ID related to the schematic element assocation.
 
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

SchematicElementAssociation

public SchematicElementAssociation(Object obj)
                            throws IOException
Construct a SchematicElementAssociation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SchematicElementAssociation.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
SchematicElementAssociation o = (SchematicElementAssociation)obj; // will not work

SchematicElementAssociation o = new SchematicElementAssociation(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems SchematicElementAssociation theSchematicElementAssociation = (SchematicElementAssociation) obj;
Method Detail

equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getSchematicElement

public ISchematicElement getSchematicElement()
                                      throws IOException,
                                             AutomationException
Schematic element related to the association.

Product Availability

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

Specified by:
getSchematicElement in interface ISchematicElementAssociation
Returns:
A reference to a com.esri.arcgis.schematic.ISchematicElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws IOException,
                 AutomationException
ID of the schematic association.

Product Availability

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

Specified by:
getID in interface ISchematicElementAssociation
Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementID

public int getElementID()
                 throws IOException,
                        AutomationException
ID of the schematic element related to the association.

Product Availability

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

Specified by:
getElementID in interface ISchematicElementAssociation
Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataSourceID

public int getDataSourceID()
                    throws IOException,
                           AutomationException
Data source ID related to the schematic element assocation.

Product Availability

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

Specified by:
getDataSourceID in interface ISchematicElementAssociation
Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataSourceID

public void setDataSourceID(int iD)
                     throws IOException,
                            AutomationException
Data source ID related to the schematic element assocation.

Product Availability

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

Specified by:
setDataSourceID in interface ISchematicElementAssociation
Parameters:
iD - The iD (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUCID

public int getUCID()
            throws IOException,
                   AutomationException
Class ID related to the schematic element assocation.

Product Availability

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

Specified by:
getUCID in interface ISchematicElementAssociation
Returns:
The uCID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUOID

public int getUOID()
            throws IOException,
                   AutomationException
Object ID related to the schematic element assocation.

Product Availability

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

Specified by:
getUOID in interface ISchematicElementAssociation
Returns:
The uOID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUSUBID

public int getUSUBID()
              throws IOException,
                     AutomationException
SUBID related to the schematic element assocation.

Product Availability

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

Specified by:
getUSUBID in interface ISchematicElementAssociation
Returns:
The uSUBID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUGUID

public String getUGUID()
                throws IOException,
                       AutomationException
GUID related to the schematic element assocation.

Product Availability

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

Specified by:
getUGUID in interface ISchematicElementAssociation
Returns:
The uGUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterAssociation

public void alterAssociation(int dataSourceID,
                             int uCID,
                             int uOID,
                             int uSUBID,
                             String uGUID)
                      throws IOException,
                             AutomationException
Changes the schematic element association.

Product Availability

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

Specified by:
alterAssociation in interface ISchematicElementAssociation
Parameters:
dataSourceID - The dataSourceID (in)
uCID - The uCID (in)
uOID - The uOID (in)
uSUBID - The uSUBID (in)
uGUID - The uGUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAssociation

public void deleteAssociation()
                       throws IOException,
                              AutomationException
Deletes the schematic element association.

Product Availability

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

Specified by:
deleteAssociation in interface ISchematicElementAssociation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAssociatedObject

public IObject getAssociatedObject()
                            throws IOException,
                                   AutomationException
Associated object if exist.

Product Availability

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

Specified by:
getAssociatedObject in interface ISchematicElementAssociatedObject
Returns:
A reference to a com.esri.arcgis.geodatabase.IObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAssociatedObjectClass

public IObjectClass getAssociatedObjectClass()
                                      throws IOException,
                                             AutomationException
Associated object class if exist.

Product Availability

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

Specified by:
getAssociatedObjectClass in interface ISchematicElementAssociatedObject
Returns:
A reference to a com.esri.arcgis.geodatabase.IObjectClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.