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, java.io.Serializable

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

COM Class 'SchematicElementAssociation'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriSchematic.olb'

Description 'Schematic element association object.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicElementAssociation
IID, IID4f428118_5fa1_46c9_a664_81d6af46a8a0, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicElementAssociatedObject
IID, IIDac156df8_2824_4fa1_b62e_36a0bf26010e, xxDummy
 
Constructor Summary
SchematicElementAssociation(java.lang.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, java.lang.String uGUID)
          Changes the schematic element association.
 void deleteAssociation()
          Deletes the schematic element association.
 boolean equals(java.lang.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.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ISchematicElement getSchematicElement()
          Schematic element related to the association.
 int getUCID()
          Class ID related to the schematic element assocation.
 java.lang.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 release()
          Release a SchematicElementAssociation.
 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
 

Constructor Detail

SchematicElementAssociation

public SchematicElementAssociation(java.lang.Object obj)
                            throws java.io.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:
java.io.IOException - if there are interop problems SchematicElementAssociation theSchematicElementAssociation = (SchematicElementAssociation) obj;
Method Detail

equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SchematicElementAssociation.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getSchematicElement

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

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

getID

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

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

getElementID

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

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

getDataSourceID

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

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

setDataSourceID

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

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

getUCID

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

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

getUOID

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

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

getUSUBID

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

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

getUGUID

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

Specified by:
getUGUID in interface ISchematicElementAssociation
Returns:
The uGUID
Throws:
java.io.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,
                             java.lang.String uGUID)
                      throws java.io.IOException,
                             AutomationException
Changes the schematic element association.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAssociation

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

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

getAssociatedObject

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

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

getAssociatedObjectClass

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

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