|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicNodeReductionRuleByPriority
public class SchematicNodeReductionRuleByPriority
Schematic Node Reduction By Priority rule object.
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 |
---|
public SchematicNodeReductionRuleByPriority() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SchematicNodeReductionRuleByPriority(Object obj) throws IOException
SchematicNodeReductionRuleByPriority theSchematicNodeReductionRuleByPriority = (SchematicNodeReductionRuleByPriority) obj;
obj
to SchematicNodeReductionRuleByPriority
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface ISchematicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface ISchematicNodeReductionRule
getDescription
in interface ISchematicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
getClassID
in interface ISchematicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws IOException, AutomationException
getPropertySet
in interface ISchematicRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass getSchematicDiagramClass() throws IOException, AutomationException
getSchematicDiagramClass
in interface ISchematicRule
getSchematicDiagramClass
in interface ISchematicRuleDesign
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void alter(ISchematicDiagramClass schematicDiagramClass, IPropertySet propertySet) throws IOException, AutomationException
alter
in interface ISchematicRule
schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void apply(ISchematicInMemoryDiagram inMemoryDiagram, ITrackCancel cancelTracker) throws IOException, AutomationException
apply
in interface ISchematicRule
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertySet(IPropertySet rhs1) throws IOException, AutomationException
setPropertySet
in interface ISchematicRuleDesign
rhs1
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass) throws IOException, AutomationException
setSchematicDiagramClassByRef
in interface ISchematicRuleDesign
schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void detach() throws IOException, AutomationException
detach
in interface ISchematicRuleDesign
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(ISchematicBuilder schematicBuiler) throws IOException, AutomationException
canApply
in interface ISchematicRuleFilter
schematicBuiler
- A reference to a com.esri.arcgis.schematic.ISchematicBuilder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String description) throws IOException, AutomationException
setDescription
in interface ISchematicNodeReductionRule
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNodeClassName() throws IOException, AutomationException
getNodeClassName
in interface ISchematicNodeReductionRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNodeClassName(String nodeClassName) throws IOException, AutomationException
setNodeClassName
in interface ISchematicNodeReductionRule
nodeClassName
- The nodeClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isKeepVertices() throws IOException, AutomationException
isKeepVertices
in interface ISchematicNodeReductionRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeepVertices(boolean keepVertices) throws IOException, AutomationException
setKeepVertices
in interface ISchematicNodeReductionRule
keepVertices
- The keepVertices (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWhereClause() throws IOException, AutomationException
getWhereClause
in interface ISchematicNodeReductionRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWhereClause(String whereClause) throws IOException, AutomationException
setWhereClause
in interface ISchematicNodeReductionRule
whereClause
- The whereClause (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseIncidentLinkAttribute() throws IOException, AutomationException
isUseIncidentLinkAttribute
in interface ISchematicNodeReductionRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseIncidentLinkAttribute(boolean useIncidentLinkAttribute) throws IOException, AutomationException
setUseIncidentLinkAttribute
in interface ISchematicNodeReductionRule
useIncidentLinkAttribute
- The useIncidentLinkAttribute (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIncidentLinkAttributeName() throws IOException, AutomationException
getIncidentLinkAttributeName
in interface ISchematicNodeReductionRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIncidentLinkAttributeName(String incidentLinkAttributeName) throws IOException, AutomationException
setIncidentLinkAttributeName
in interface ISchematicNodeReductionRule
incidentLinkAttributeName
- The incidentLinkAttributeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isNodeDegreeConstraint() throws IOException, AutomationException
isNodeDegreeConstraint
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNodeDegreeConstraint(boolean degreeConstraint) throws IOException, AutomationException
setNodeDegreeConstraint
in interface ISchematicNodeReductionRuleByPriority
degreeConstraint
- The degreeConstraint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReduceNodeDegree0() throws IOException, AutomationException
isReduceNodeDegree0
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReduceNodeDegree0(boolean reduce) throws IOException, AutomationException
setReduceNodeDegree0
in interface ISchematicNodeReductionRuleByPriority
reduce
- The reduce (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReduceNodeDegree1() throws IOException, AutomationException
isReduceNodeDegree1
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReduceNodeDegree1(boolean reduce) throws IOException, AutomationException
setReduceNodeDegree1
in interface ISchematicNodeReductionRuleByPriority
reduce
- The reduce (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReduceNodeDegree2() throws IOException, AutomationException
isReduceNodeDegree2
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReduceNodeDegree2(boolean reduce) throws IOException, AutomationException
setReduceNodeDegree2
in interface ISchematicNodeReductionRuleByPriority
reduce
- The reduce (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReduceNodeDegreeSup3() throws IOException, AutomationException
isReduceNodeDegreeSup3
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReduceNodeDegreeSup3(boolean reduce) throws IOException, AutomationException
setReduceNodeDegreeSup3
in interface ISchematicNodeReductionRuleByPriority
reduce
- The reduce (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getActivePriority() throws IOException, AutomationException
getActivePriority
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActivePriority(int priority) throws IOException, AutomationException
setActivePriority
in interface ISchematicNodeReductionRuleByPriority
priority
- A com.esri.arcgis.schematic.esriSchematicReductionPriority constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOrderedElementClassPriorities() throws IOException, AutomationException
getOrderedElementClassPriorities
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrderedElementClassPriorities(Object names) throws IOException, AutomationException
setOrderedElementClassPriorities
in interface ISchematicNodeReductionRuleByPriority
names
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReduceIfOnlyTwoChoicesWithSamePriority() throws IOException, AutomationException
isReduceIfOnlyTwoChoicesWithSamePriority
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReduceIfOnlyTwoChoicesWithSamePriority(boolean reduce) throws IOException, AutomationException
setReduceIfOnlyTwoChoicesWithSamePriority
in interface ISchematicNodeReductionRuleByPriority
reduce
- The reduce (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getElementClassPrioritiesToReduceAlways() throws IOException, AutomationException
getElementClassPrioritiesToReduceAlways
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElementClassPrioritiesToReduceAlways(Object names) throws IOException, AutomationException
setElementClassPrioritiesToReduceAlways
in interface ISchematicNodeReductionRuleByPriority
names
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExtendedCriteriaUsed() throws IOException, AutomationException
isExtendedCriteriaUsed
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtendedCriteriaUsed(boolean extendedCriteriaUsed) throws IOException, AutomationException
setExtendedCriteriaUsed
in interface ISchematicNodeReductionRuleByPriority
extendedCriteriaUsed
- The extendedCriteriaUsed (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExtendedCriteriaName() throws IOException, AutomationException
getExtendedCriteriaName
in interface ISchematicNodeReductionRuleByPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtendedCriteriaName(String extendedCriteriaName) throws IOException, AutomationException
An extended criteria for the Node Reduction By Priority rule is a component that implements the ISchematicNodeReductionExtended interface.
setExtendedCriteriaName
in interface ISchematicNodeReductionRuleByPriority
extendedCriteriaName
- The extendedCriteriaName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |