com.esri.arcgis.schematic
Class SchematicLinker

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicLinker
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicFeatureLinker, ISchematicInMemoryFeatureLinkerEdit, Serializable

public class SchematicLinker
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicFeatureLinker, ISchematicInMemoryFeatureLinkerEdit

Schematic linker object that manages the objects (rows or features) associated to the schematic features.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicLinker()
          Constructs a SchematicLinker using ArcGIS Engine.
SchematicLinker(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicLinker theSchematicLinker = (SchematicLinker) obj;
 
Method Summary
 void associate(ISchematicInMemoryFeature inMemoryFeature, IObject object)
          Associates the specified schematic feature with the specified object.
 void dissociate(ISchematicInMemoryFeature inMemoryFeature, IObject object)
          Dissociates the specified schematic feature with the specified object.
 boolean equals(Object o)
          Compare this object with another
 IEnumObject findObjectsFromSchematicFeature(ISchematicFeature feature)
          Retrieves the set of objects associated with the specified schematic feature.
 IEnumSchematicFeature findSchematicFeaturesInLayerFromObjects(IEnumObject enumObject, ILayer layer, ITrackCancel cancelTracker)
          Retrieves the set of schematic features associated with the specified objects.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void reportAssociations(ISchematicInMemoryFeature fromInMemoryFeature, ISchematicInMemoryFeature toInMemoryFeature)
          Reports associations from one schematic feature to another one.
 
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

SchematicLinker

public SchematicLinker()
                throws IOException,
                       UnknownHostException
Constructs a SchematicLinker using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SchematicLinker

public SchematicLinker(Object obj)
                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicLinker theSchematicLinker = (SchematicLinker) obj;

Construct a SchematicLinker using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SchematicLinker.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


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

findObjectsFromSchematicFeature

public IEnumObject findObjectsFromSchematicFeature(ISchematicFeature feature)
                                            throws IOException,
                                                   AutomationException
Retrieves the set of objects associated with the specified schematic feature.

Product Availability

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

Specified by:
findObjectsFromSchematicFeature in interface ISchematicFeatureLinker
Parameters:
feature - A reference to a com.esri.arcgis.schematic.ISchematicFeature (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findSchematicFeaturesInLayerFromObjects

public IEnumSchematicFeature findSchematicFeaturesInLayerFromObjects(IEnumObject enumObject,
                                                                     ILayer layer,
                                                                     ITrackCancel cancelTracker)
                                                              throws IOException,
                                                                     AutomationException
Retrieves the set of schematic features associated with the specified objects.

Product Availability

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

Specified by:
findSchematicFeaturesInLayerFromObjects in interface ISchematicFeatureLinker
Parameters:
enumObject - A reference to a com.esri.arcgis.geodatabase.IEnumObject (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
Returns:
A reference to a com.esri.arcgis.schematic.IEnumSchematicFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reportAssociations

public void reportAssociations(ISchematicInMemoryFeature fromInMemoryFeature,
                               ISchematicInMemoryFeature toInMemoryFeature)
                        throws IOException,
                               AutomationException
Reports associations from one schematic feature to another one.

Product Availability

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

Specified by:
reportAssociations in interface ISchematicInMemoryFeatureLinkerEdit
Parameters:
fromInMemoryFeature - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
toInMemoryFeature - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

associate

public void associate(ISchematicInMemoryFeature inMemoryFeature,
                      IObject object)
               throws IOException,
                      AutomationException
Associates the specified schematic feature with the specified object.

Product Availability

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

Specified by:
associate in interface ISchematicInMemoryFeatureLinkerEdit
Parameters:
inMemoryFeature - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
object - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

dissociate

public void dissociate(ISchematicInMemoryFeature inMemoryFeature,
                       IObject object)
                throws IOException,
                       AutomationException
Dissociates the specified schematic feature with the specified object.

Product Availability

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

Specified by:
dissociate in interface ISchematicInMemoryFeatureLinkerEdit
Parameters:
inMemoryFeature - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryFeature (in)
object - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.