com.esri.arcgis.schematic
Class SchematicNodeReductionRuleByPriority

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

public class SchematicNodeReductionRuleByPriority
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicRule, ISchematicRuleDesign, ISchematicRuleFilter, ISchematicNodeReductionRule, ISchematicNodeReductionRuleByPriority

Schematic Node Reduction By Priority rule object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
SchematicNodeReductionRuleByPriority()
          Constructs a SchematicNodeReductionRuleByPriority using ArcGIS Engine.
SchematicNodeReductionRuleByPriority(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicNodeReductionRuleByPriority theSchematicNodeReductionRuleByPriority = (SchematicNodeReductionRuleByPriority) 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
 int getActivePriority()
          Indicates if the element class priority is activated.
 IUID getClassID()
          ClassID of the schematic rule.
static String getClsid()
          getClsid.
 String getDescription()
          Description of the schematic rule.
 Object getElementClassPrioritiesToReduceAlways()
          List of the element class names the Schematic Node Reduction By Priority rule must always reduce ordered by their decreasing priority.
 String getExtendedCriteriaName()
          Name of the extended criteria.
 String getIncidentLinkAttributeName()
          Name of the attribute field that use for the link attribute option.
 String getName()
          Name of the schematic rule.
 String getNodeClassName()
          Name of the schematic node element class related to the Schematic Node Reduction rule; that is, name of the schematic node element class to reduce.
 Object getOrderedElementClassPriorities()
          List of the element class names ordered by their decreasing priority for the Schematic Node Reduction By Priority rule.
 IPropertySet getPropertySet()
          PropertySet related to the schematic rule.
 ISchematicDiagramClass getSchematicDiagramClass()
          Schematic diagram class related to the schematic rule.
 String getWhereClause()
          Where clause used on associated feature to filter the schematic elements to reduce.
 int hashCode()
          the hashcode for this object
 boolean isExtendedCriteriaUsed()
          Indicates if additional extended criteria is used.
 boolean isKeepVertices()
          Indicates if the Schematic Node Reduction rule keeps the links vertices.
 boolean isNodeDegreeConstraint()
          Indicates if the degree of the nodes is a constraint for the Schematic Node Reduction By Priority rule.
 boolean isReduceIfOnlyTwoChoicesWithSamePriority()
          Indicates if the Schematic Node Reduction By Priority rule occurs if there are only two possibilities to apply the rule and if these solutions have the same priority.
 boolean isReduceNodeDegree0()
          Indicates if the disconnected nodes (that is, the nodes with degree 0) must be automatically reduced by the Schematic Node Reduction By Priority rule.
 boolean isReduceNodeDegree1()
          Indicates if the leaves nodes (that is, the nodes with degree 1) must be automatically reduced by the Schematic Node Reduction By Priority rule.
 boolean isReduceNodeDegree2()
          Indicates if the nodes with degree 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.
 boolean isReduceNodeDegreeSup3()
          Indicates if the nodes with a degree upper than 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.
 boolean isUseIncidentLinkAttribute()
          Indicates if the Schematic Node Reduction rule use the link attribute.
 void setActivePriority(int priority)
          Indicates if the element class priority is activated.
 void setDescription(String description)
          Description of the Schematic Node Reduction rule.
 void setElementClassPrioritiesToReduceAlways(Object names)
          List of the element class names the Schematic Node Reduction By Priority rule must always reduce ordered by their decreasing priority.
 void setExtendedCriteriaName(String extendedCriteriaName)
          Name of the extended criteria.
 void setExtendedCriteriaUsed(boolean extendedCriteriaUsed)
          Indicates if additional extended criteria is used.
 void setIncidentLinkAttributeName(String incidentLinkAttributeName)
          Name of the attribute field that use for the link attribute option.
 void setKeepVertices(boolean keepVertices)
          Indicates if the Schematic Node Reduction rule keeps the links vertices.
 void setNodeClassName(String nodeClassName)
          Name of the schematic node element class related to the Schematic Node Reduction rule; that is, name of the schematic node element class to reduce.
 void setNodeDegreeConstraint(boolean degreeConstraint)
          Indicates if the degree of the nodes is a constraint for the Schematic Node Reduction By Priority rule.
 void setOrderedElementClassPriorities(Object names)
          List of the element class names ordered by their decreasing priority for the Schematic Node Reduction By Priority rule.
 void setPropertySet(IPropertySet rhs1)
          PropertySet related to the schematic rule.
 void setReduceIfOnlyTwoChoicesWithSamePriority(boolean reduce)
          Indicates if the Schematic Node Reduction By Priority rule occurs if there are only two possibilities to apply the rule and if these solutions have the same priority.
 void setReduceNodeDegree0(boolean reduce)
          Indicates if the disconnected nodes (that is, the nodes with degree 0) must be automatically reduced by the Schematic Node Reduction By Priority rule.
 void setReduceNodeDegree1(boolean reduce)
          Indicates if the leaves nodes (that is, the nodes with degree 1) must be automatically reduced by the Schematic Node Reduction By Priority rule.
 void setReduceNodeDegree2(boolean reduce)
          Indicates if the nodes with degree 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.
 void setReduceNodeDegreeSup3(boolean reduce)
          Indicates if the nodes with a degree upper than 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.
 void setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass)
          Schematic diagram class related to the schematic builder.
 void setUseIncidentLinkAttribute(boolean useIncidentLinkAttribute)
          Indicates if the Schematic Node Reduction rule use the link attribute.
 void setWhereClause(String whereClause)
          Where clause used on associated feature to filter the schematic elements to reduce.
 
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

SchematicNodeReductionRuleByPriority

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

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

SchematicNodeReductionRuleByPriority

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

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

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 ISchematicNodeReductionRule
Specified by:
getDescription in interface ISchematicRule
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 Node Reduction rule.

Product Availability

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

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

getNodeClassName

public String getNodeClassName()
                        throws IOException,
                               AutomationException
Name of the schematic node element class related to the Schematic Node Reduction rule; that is, name of the schematic node element class to reduce.

Product Availability

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

Specified by:
getNodeClassName in interface ISchematicNodeReductionRule
Returns:
The nodeClassName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNodeClassName

public void setNodeClassName(String nodeClassName)
                      throws IOException,
                             AutomationException
Name of the schematic node element class related to the Schematic Node Reduction rule; that is, name of the schematic node element class to reduce.

Product Availability

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

Specified by:
setNodeClassName in interface ISchematicNodeReductionRule
Parameters:
nodeClassName - The nodeClassName (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 Node Reduction rule keeps the links vertices.

Product Availability

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

Specified by:
isKeepVertices in interface ISchematicNodeReductionRule
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 Node Reduction rule keeps the links vertices.

Product Availability

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

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

getWhereClause

public String getWhereClause()
                      throws IOException,
                             AutomationException
Where clause used on associated feature to filter the schematic elements to reduce.

Product Availability

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

Specified by:
getWhereClause in interface ISchematicNodeReductionRule
Returns:
The whereClause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWhereClause

public void setWhereClause(String whereClause)
                    throws IOException,
                           AutomationException
Where clause used on associated feature to filter the schematic elements to reduce.

Product Availability

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

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

isUseIncidentLinkAttribute

public boolean isUseIncidentLinkAttribute()
                                   throws IOException,
                                          AutomationException
Indicates if the Schematic Node Reduction rule use the link attribute.

Product Availability

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

Specified by:
isUseIncidentLinkAttribute in interface ISchematicNodeReductionRule
Returns:
The useIncidentLinkAttribute
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseIncidentLinkAttribute

public void setUseIncidentLinkAttribute(boolean useIncidentLinkAttribute)
                                 throws IOException,
                                        AutomationException
Indicates if the Schematic Node Reduction rule use the link attribute.

Product Availability

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

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

getIncidentLinkAttributeName

public String getIncidentLinkAttributeName()
                                    throws IOException,
                                           AutomationException
Name of the attribute field that use for the link attribute option.

Product Availability

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

Specified by:
getIncidentLinkAttributeName in interface ISchematicNodeReductionRule
Returns:
The incidentLinkAttributeName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIncidentLinkAttributeName

public void setIncidentLinkAttributeName(String incidentLinkAttributeName)
                                  throws IOException,
                                         AutomationException
Name of the attribute field that use for the link attribute option.

Product Availability

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

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

isNodeDegreeConstraint

public boolean isNodeDegreeConstraint()
                               throws IOException,
                                      AutomationException
Indicates if the degree of the nodes is a constraint for the Schematic Node Reduction By Priority rule.

Product Availability

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

Specified by:
isNodeDegreeConstraint in interface ISchematicNodeReductionRuleByPriority
Returns:
The degreeConstraint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNodeDegreeConstraint

public void setNodeDegreeConstraint(boolean degreeConstraint)
                             throws IOException,
                                    AutomationException
Indicates if the degree of the nodes is a constraint for the Schematic Node Reduction By Priority rule.

Product Availability

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

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

isReduceNodeDegree0

public boolean isReduceNodeDegree0()
                            throws IOException,
                                   AutomationException
Indicates if the disconnected nodes (that is, the nodes with degree 0) must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

Specified by:
isReduceNodeDegree0 in interface ISchematicNodeReductionRuleByPriority
Returns:
The reduce
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReduceNodeDegree0

public void setReduceNodeDegree0(boolean reduce)
                          throws IOException,
                                 AutomationException
Indicates if the disconnected nodes (that is, the nodes with degree 0) must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

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

isReduceNodeDegree1

public boolean isReduceNodeDegree1()
                            throws IOException,
                                   AutomationException
Indicates if the leaves nodes (that is, the nodes with degree 1) must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

Specified by:
isReduceNodeDegree1 in interface ISchematicNodeReductionRuleByPriority
Returns:
The reduce
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReduceNodeDegree1

public void setReduceNodeDegree1(boolean reduce)
                          throws IOException,
                                 AutomationException
Indicates if the leaves nodes (that is, the nodes with degree 1) must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

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

isReduceNodeDegree2

public boolean isReduceNodeDegree2()
                            throws IOException,
                                   AutomationException
Indicates if the nodes with degree 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

Specified by:
isReduceNodeDegree2 in interface ISchematicNodeReductionRuleByPriority
Returns:
The reduce
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReduceNodeDegree2

public void setReduceNodeDegree2(boolean reduce)
                          throws IOException,
                                 AutomationException
Indicates if the nodes with degree 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

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

isReduceNodeDegreeSup3

public boolean isReduceNodeDegreeSup3()
                               throws IOException,
                                      AutomationException
Indicates if the nodes with a degree upper than 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

Specified by:
isReduceNodeDegreeSup3 in interface ISchematicNodeReductionRuleByPriority
Returns:
The reduce
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReduceNodeDegreeSup3

public void setReduceNodeDegreeSup3(boolean reduce)
                             throws IOException,
                                    AutomationException
Indicates if the nodes with a degree upper than 2 must be automatically reduced by the Schematic Node Reduction By Priority rule.

Product Availability

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

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

getActivePriority

public int getActivePriority()
                      throws IOException,
                             AutomationException
Indicates if the element class priority is activated.

Product Availability

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

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

setActivePriority

public void setActivePriority(int priority)
                       throws IOException,
                              AutomationException
Indicates if the element class priority is activated.

Product Availability

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

Specified by:
setActivePriority in interface ISchematicNodeReductionRuleByPriority
Parameters:
priority - A com.esri.arcgis.schematic.esriSchematicReductionPriority constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrderedElementClassPriorities

public Object getOrderedElementClassPriorities()
                                        throws IOException,
                                               AutomationException
List of the element class names ordered by their decreasing priority for the Schematic Node Reduction By Priority rule.

Product Availability

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

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

setOrderedElementClassPriorities

public void setOrderedElementClassPriorities(Object names)
                                      throws IOException,
                                             AutomationException
List of the element class names ordered by their decreasing priority for the Schematic Node Reduction By Priority rule.

Product Availability

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

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

isReduceIfOnlyTwoChoicesWithSamePriority

public boolean isReduceIfOnlyTwoChoicesWithSamePriority()
                                                 throws IOException,
                                                        AutomationException
Indicates if the Schematic Node Reduction By Priority rule occurs if there are only two possibilities to apply the rule and if these solutions have the same priority.

Product Availability

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

Specified by:
isReduceIfOnlyTwoChoicesWithSamePriority in interface ISchematicNodeReductionRuleByPriority
Returns:
The reduce
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReduceIfOnlyTwoChoicesWithSamePriority

public void setReduceIfOnlyTwoChoicesWithSamePriority(boolean reduce)
                                               throws IOException,
                                                      AutomationException
Indicates if the Schematic Node Reduction By Priority rule occurs if there are only two possibilities to apply the rule and if these solutions have the same priority.

Product Availability

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

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

getElementClassPrioritiesToReduceAlways

public Object getElementClassPrioritiesToReduceAlways()
                                               throws IOException,
                                                      AutomationException
List of the element class names the Schematic Node Reduction By Priority rule must always reduce ordered by their decreasing priority.

Product Availability

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

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

setElementClassPrioritiesToReduceAlways

public void setElementClassPrioritiesToReduceAlways(Object names)
                                             throws IOException,
                                                    AutomationException
List of the element class names the Schematic Node Reduction By Priority rule must always reduce ordered by their decreasing priority.

Product Availability

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

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

isExtendedCriteriaUsed

public boolean isExtendedCriteriaUsed()
                               throws IOException,
                                      AutomationException
Indicates if additional extended criteria is used.

Product Availability

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

Specified by:
isExtendedCriteriaUsed in interface ISchematicNodeReductionRuleByPriority
Returns:
The extendedCriteriaUsed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtendedCriteriaUsed

public void setExtendedCriteriaUsed(boolean extendedCriteriaUsed)
                             throws IOException,
                                    AutomationException
Indicates if additional extended criteria is used.

Product Availability

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

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

getExtendedCriteriaName

public String getExtendedCriteriaName()
                               throws IOException,
                                      AutomationException
Name of the extended criteria.

Product Availability

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

Specified by:
getExtendedCriteriaName in interface ISchematicNodeReductionRuleByPriority
Returns:
The extendedCriteriaName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtendedCriteriaName

public void setExtendedCriteriaName(String extendedCriteriaName)
                             throws IOException,
                                    AutomationException
Name of the extended criteria.

Remarks

An extended criteria for the Node Reduction By Priority rule is a component that implements the ISchematicNodeReductionExtended interface.

Product Availability

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

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