com.esri.arcgis.schematic
Class SchematicSpatialQueryRule

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicSpatialQueryRule
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicRule, ISchematicRuleDesign, ISchematicRuleFilter, ISchematicSpatialQueryRule, Serializable

public class SchematicSpatialQueryRule
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicRule, ISchematicRuleDesign, ISchematicRuleFilter, ISchematicSpatialQueryRule

Schematic Spatial Query rule object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicSpatialQueryRule()
          Constructs a SchematicSpatialQueryRule using ArcGIS Engine.
SchematicSpatialQueryRule(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicSpatialQueryRule theSchematicSpatialQueryRule = (SchematicSpatialQueryRule) obj;
 
Method Summary
 void alter(ISchematicDiagramClass schematicDiagramClass, IPropertySet propertySet)
          Changes the schematic rule for the specified schematic diagram class with the specified rule type PropertySet.
 void apply(ISchematicInMemoryDiagram inMemoryDiagram, ITrackCancel cancelTracker)
          Applies the schematic rule on the specified schematic in memory diagram.
 boolean canApply(ISchematicBuilder schematicBuiler)
          Indicates if the rule can apply to the given builder.
 void detach()
          Detach rule from dataset.
 boolean equals(Object o)
          Compare this object with another
 double getBufferDistance()
          Spatial buffer distance of the Schematic Spatial Query rule.
 int getBufferUnits()
          Spatial buffer units of the Schematic Spatial Query rule.
 IUID getClassID()
          ClassID of the schematic rule.
static String getClsid()
          getClsid.
 String getDescription()
          Description of the schematic rule.
 String getName()
          Name of the schematic rule.
 IPropertySet getPropertySet()
          PropertySet related to the schematic rule.
 String getRelationshipElementClassName()
          Relationship element class name related to the Schematic Relationship rule.
 ISchematicDiagramClass getSchematicDiagramClass()
          Schematic diagram class related to the schematic rule.
 int getSearchMethod()
          List of the target element class names.
 String getSourceElementClassName()
          Source element class name related to the Schematic Spatial Query rule.
 Object getTargetElementClassNames()
          List of the target element class names.
 int hashCode()
          the hashcode for this object
 boolean isAddElements()
          Indicates if the elements detected by the Schematic Spatial Query rule must be included in the diagram.
 boolean isAddRelationshipElement()
          Indicates if the relationship element must be included in the diagram.
 boolean isBufferUsed()
          Indicates if the Schematic Spatial Query rule uses a spatial buffer.
 boolean isKeepVertices()
          Indicates if the Schematic Spatial Query rule keeps the links vertices.
 boolean isRelateConnectedNodes()
          Indicates if the relation must be reported on the origin and end nodes of links when schematic links are returned by the Schematic Spatial Query rule.
 boolean isRelateElements()
          Indicates if a relation between elements must be initialized.
 boolean isReverseRelation()
          Indicates if the relation between elements must be reversed.
 boolean isReverseRelationshipLinkOrientation()
          Indicates if the relationship link orientation must be reversed.
 void setAddElements(boolean addElements)
          Indicates if the elements detected by the Schematic Spatial Query rule must be included in the diagram.
 void setAddRelationshipElement(boolean addRelationshipElement)
          Indicates if the relationship element must be included in the diagram.
 void setBufferDistance(double bufferDistance)
          Spatial buffer distance of the Schematic Spatial Query rule.
 void setBufferUnits(int bufferUnits)
          Spatial buffer units of the Schematic Spatial Query rule.
 void setBufferUsed(boolean bufferUsed)
          Indicates if the Schematic Spatial Query rule uses a spatial buffer.
 void setDescription(String description)
          Description of the Schematic Spatial Query rule.
 void setKeepVertices(boolean keepVertices)
          Indicates if the Schematic Spatial Query rule keeps the links vertices.
 void setPropertySet(IPropertySet rhs1)
          PropertySet related to the schematic rule.
 void setRelateConnectedNodes(boolean relateConnectedNodes)
          Indicates if the relation must be reported on the origin and end nodes of links when schematic links are returned by the Schematic Spatial Query rule.
 void setRelateElements(boolean relateElements)
          Indicates if a relation between elements must be initialized.
 void setRelationshipElementClassName(String relationshipClassName)
          Relationship element class name related to the Schematic Relationship rule.
 void setReverseRelation(boolean reverseTRelation)
          Indicates if the relation between elements must be reversed.
 void setReverseRelationshipLinkOrientation(boolean reverseRelationshipLinkOrientation)
          Indicates if the relationship link orientation must be reversed.
 void setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass)
          Schematic diagram class related to the schematic builder.
 void setSearchMethod(int searchMethod)
          List of the target element class names.
 void setSourceElementClassName(String sourceClassName)
          Source element class name related to the Schematic Spatial Query rule.
 void setTargetElementClassNames(Object names)
          List of the target element class names.
 
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

SchematicSpatialQueryRule

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

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

SchematicSpatialQueryRule

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

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

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

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the schematic rule.

Product Availability

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

Specified by:
getName in interface ISchematicRule
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
Description of the schematic rule.

Product Availability

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

Specified by:
getDescription in interface ISchematicRule
Specified by:
getDescription in interface ISchematicSpatialQueryRule
Returns:
The description
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public IUID getClassID()
                throws IOException,
                       AutomationException
ClassID of the schematic rule.

Product Availability

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

Specified by:
getClassID in interface ISchematicRule
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws IOException,
                                   AutomationException
PropertySet related to the schematic rule.

Product Availability

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

Specified by:
getPropertySet in interface ISchematicRule
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSchematicDiagramClass

public ISchematicDiagramClass getSchematicDiagramClass()
                                                throws IOException,
                                                       AutomationException
Schematic diagram class related to the schematic rule.

Product Availability

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

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

alter

public void alter(ISchematicDiagramClass schematicDiagramClass,
                  IPropertySet propertySet)
           throws IOException,
                  AutomationException
Changes the schematic rule for the specified schematic diagram class with the specified rule type PropertySet.

Product Availability

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

Specified by:
alter in interface ISchematicRule
Parameters:
schematicDiagramClass - A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

apply

public void apply(ISchematicInMemoryDiagram inMemoryDiagram,
                  ITrackCancel cancelTracker)
           throws IOException,
                  AutomationException
Applies the schematic rule on the specified schematic in memory diagram.

Product Availability

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

Specified by:
apply in interface ISchematicRule
Parameters:
inMemoryDiagram - A reference to a com.esri.arcgis.schematic.ISchematicInMemoryDiagram (in)
cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPropertySet

public void setPropertySet(IPropertySet rhs1)
                    throws IOException,
                           AutomationException
PropertySet related to the schematic rule.

Product Availability

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

Specified by:
setPropertySet in interface ISchematicRuleDesign
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSchematicDiagramClassByRef

public void setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass)
                                   throws IOException,
                                          AutomationException
Schematic diagram class related to the schematic builder.

Product Availability

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

Specified by:
setSchematicDiagramClassByRef in interface ISchematicRuleDesign
Parameters:
schematicDiagramClass - A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

detach

public void detach()
            throws IOException,
                   AutomationException
Detach rule from dataset.

Product Availability

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

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

canApply

public boolean canApply(ISchematicBuilder schematicBuiler)
                 throws IOException,
                        AutomationException
Indicates if the rule can apply to the given builder.

Product Availability

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

Specified by:
canApply in interface ISchematicRuleFilter
Parameters:
schematicBuiler - A reference to a com.esri.arcgis.schematic.ISchematicBuilder (in)
Returns:
The apply
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(String description)
                    throws IOException,
                           AutomationException
Description of the Schematic Spatial Query rule.

Product Availability

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

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

getSourceElementClassName

public String getSourceElementClassName()
                                 throws IOException,
                                        AutomationException
Source element class name related to the Schematic Spatial Query rule.

Product Availability

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

Specified by:
getSourceElementClassName in interface ISchematicSpatialQueryRule
Returns:
The sourceClassName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceElementClassName

public void setSourceElementClassName(String sourceClassName)
                               throws IOException,
                                      AutomationException
Source element class name related to the Schematic Spatial Query rule.

Product Availability

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

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

getTargetElementClassNames

public Object getTargetElementClassNames()
                                  throws IOException,
                                         AutomationException
List of the target element class names.

Product Availability

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

Specified by:
getTargetElementClassNames in interface ISchematicSpatialQueryRule
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetElementClassNames

public void setTargetElementClassNames(Object names)
                                throws IOException,
                                       AutomationException
List of the target element class names.

Product Availability

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

Specified by:
setTargetElementClassNames in interface ISchematicSpatialQueryRule
Parameters:
names - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSearchMethod

public int getSearchMethod()
                    throws IOException,
                           AutomationException
List of the target element class names.

Product Availability

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

Specified by:
getSearchMethod in interface ISchematicSpatialQueryRule
Returns:
A com.esri.arcgis.schematic.esriSchematicSpatialQueryRuleSearchMethod constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSearchMethod

public void setSearchMethod(int searchMethod)
                     throws IOException,
                            AutomationException
List of the target element class names.

Product Availability

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

Specified by:
setSearchMethod in interface ISchematicSpatialQueryRule
Parameters:
searchMethod - A com.esri.arcgis.schematic.esriSchematicSpatialQueryRuleSearchMethod constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKeepVertices

public boolean isKeepVertices()
                       throws IOException,
                              AutomationException
Indicates if the Schematic Spatial Query rule keeps the links vertices.

Product Availability

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

Specified by:
isKeepVertices in interface ISchematicSpatialQueryRule
Returns:
The keepVertices
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKeepVertices

public void setKeepVertices(boolean keepVertices)
                     throws IOException,
                            AutomationException
Indicates if the Schematic Spatial Query rule keeps the links vertices.

Product Availability

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

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

isBufferUsed

public boolean isBufferUsed()
                     throws IOException,
                            AutomationException
Indicates if the Schematic Spatial Query rule uses a spatial buffer.

Product Availability

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

Specified by:
isBufferUsed in interface ISchematicSpatialQueryRule
Returns:
The bufferUsed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferUsed

public void setBufferUsed(boolean bufferUsed)
                   throws IOException,
                          AutomationException
Indicates if the Schematic Spatial Query rule uses a spatial buffer.

Product Availability

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

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

getBufferDistance

public double getBufferDistance()
                         throws IOException,
                                AutomationException
Spatial buffer distance of the Schematic Spatial Query rule.

Product Availability

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

Specified by:
getBufferDistance in interface ISchematicSpatialQueryRule
Returns:
The bufferDistance
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferDistance

public void setBufferDistance(double bufferDistance)
                       throws IOException,
                              AutomationException
Spatial buffer distance of the Schematic Spatial Query rule.

Product Availability

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

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

getBufferUnits

public int getBufferUnits()
                   throws IOException,
                          AutomationException
Spatial buffer units of the Schematic Spatial Query rule.

Product Availability

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

Specified by:
getBufferUnits in interface ISchematicSpatialQueryRule
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBufferUnits

public void setBufferUnits(int bufferUnits)
                    throws IOException,
                           AutomationException
Spatial buffer units of the Schematic Spatial Query rule.

Product Availability

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

Specified by:
setBufferUnits in interface ISchematicSpatialQueryRule
Parameters:
bufferUnits - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAddElements

public boolean isAddElements()
                      throws IOException,
                             AutomationException
Indicates if the elements detected by the Schematic Spatial Query rule must be included in the diagram.

Product Availability

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

Specified by:
isAddElements in interface ISchematicSpatialQueryRule
Returns:
The addElements
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAddElements

public void setAddElements(boolean addElements)
                    throws IOException,
                           AutomationException
Indicates if the elements detected by the Schematic Spatial Query rule must be included in the diagram.

Product Availability

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

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

isRelateElements

public boolean isRelateElements()
                         throws IOException,
                                AutomationException
Indicates if a relation between elements must be initialized.

Product Availability

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

Specified by:
isRelateElements in interface ISchematicSpatialQueryRule
Returns:
The relateElements
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelateElements

public void setRelateElements(boolean relateElements)
                       throws IOException,
                              AutomationException
Indicates if a relation between elements must be initialized.

Product Availability

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

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

isReverseRelation

public boolean isReverseRelation()
                          throws IOException,
                                 AutomationException
Indicates if the relation between elements must be reversed.

Product Availability

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

Specified by:
isReverseRelation in interface ISchematicSpatialQueryRule
Returns:
The reverseTRelation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReverseRelation

public void setReverseRelation(boolean reverseTRelation)
                        throws IOException,
                               AutomationException
Indicates if the relation between elements must be reversed.

Product Availability

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

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

isRelateConnectedNodes

public boolean isRelateConnectedNodes()
                               throws IOException,
                                      AutomationException
Indicates if the relation must be reported on the origin and end nodes of links when schematic links are returned by the Schematic Spatial Query rule.

Product Availability

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

Specified by:
isRelateConnectedNodes in interface ISchematicSpatialQueryRule
Returns:
The relateConnectedNodes
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelateConnectedNodes

public void setRelateConnectedNodes(boolean relateConnectedNodes)
                             throws IOException,
                                    AutomationException
Indicates if the relation must be reported on the origin and end nodes of links when schematic links are returned by the Schematic Spatial Query rule.

Product Availability

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

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

getRelationshipElementClassName

public String getRelationshipElementClassName()
                                       throws IOException,
                                              AutomationException
Relationship element class name related to the Schematic Relationship rule.

Product Availability

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

Specified by:
getRelationshipElementClassName in interface ISchematicSpatialQueryRule
Returns:
The relationshipClassName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelationshipElementClassName

public void setRelationshipElementClassName(String relationshipClassName)
                                     throws IOException,
                                            AutomationException
Relationship element class name related to the Schematic Relationship rule.

Product Availability

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

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

isAddRelationshipElement

public boolean isAddRelationshipElement()
                                 throws IOException,
                                        AutomationException
Indicates if the relationship element must be included in the diagram.

Product Availability

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

Specified by:
isAddRelationshipElement in interface ISchematicSpatialQueryRule
Returns:
The addRelationshipElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAddRelationshipElement

public void setAddRelationshipElement(boolean addRelationshipElement)
                               throws IOException,
                                      AutomationException
Indicates if the relationship element must be included in the diagram.

Product Availability

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

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

isReverseRelationshipLinkOrientation

public boolean isReverseRelationshipLinkOrientation()
                                             throws IOException,
                                                    AutomationException
Indicates if the relationship link orientation must be reversed.

Product Availability

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

Specified by:
isReverseRelationshipLinkOrientation in interface ISchematicSpatialQueryRule
Returns:
The reverseRelationshipLinkOrientation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReverseRelationshipLinkOrientation

public void setReverseRelationshipLinkOrientation(boolean reverseRelationshipLinkOrientation)
                                           throws IOException,
                                                  AutomationException
Indicates if the relationship link orientation must be reversed.

Product Availability

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

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