|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicSpatialQueryRule
public class SchematicSpatialQueryRule
Schematic Spatial Query rule object.
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 |
---|
public SchematicSpatialQueryRule() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SchematicSpatialQueryRule(Object obj) throws IOException
SchematicSpatialQueryRule theSchematicSpatialQueryRule = (SchematicSpatialQueryRule) obj;
obj
to SchematicSpatialQueryRule
.
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.ISchematicRule.getClassID()
public String getDescription() throws IOException, AutomationException
getDescription
in interface ISchematicRule
getDescription
in interface ISchematicSpatialQueryRule
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.ISchematicRule.getName()
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 ISchematicSpatialQueryRule
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSourceElementClassName() throws IOException, AutomationException
getSourceElementClassName
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSourceElementClassName(String sourceClassName) throws IOException, AutomationException
setSourceElementClassName
in interface ISchematicSpatialQueryRule
sourceClassName
- The sourceClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getTargetElementClassNames() throws IOException, AutomationException
getTargetElementClassNames
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTargetElementClassNames(Object names) throws IOException, AutomationException
setTargetElementClassNames
in interface ISchematicSpatialQueryRule
names
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSearchMethod() throws IOException, AutomationException
getSearchMethod
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSearchMethod(int searchMethod) throws IOException, AutomationException
setSearchMethod
in interface ISchematicSpatialQueryRule
searchMethod
- A com.esri.arcgis.schematic.esriSchematicSpatialQueryRuleSearchMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isKeepVertices() throws IOException, AutomationException
isKeepVertices
in interface ISchematicSpatialQueryRule
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 ISchematicSpatialQueryRule
keepVertices
- The keepVertices (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBufferUsed() throws IOException, AutomationException
isBufferUsed
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBufferUsed(boolean bufferUsed) throws IOException, AutomationException
setBufferUsed
in interface ISchematicSpatialQueryRule
bufferUsed
- The bufferUsed (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getBufferDistance() throws IOException, AutomationException
getBufferDistance
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBufferDistance(double bufferDistance) throws IOException, AutomationException
setBufferDistance
in interface ISchematicSpatialQueryRule
bufferDistance
- The bufferDistance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBufferUnits() throws IOException, AutomationException
getBufferUnits
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBufferUnits(int bufferUnits) throws IOException, AutomationException
setBufferUnits
in interface ISchematicSpatialQueryRule
bufferUnits
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAddElements() throws IOException, AutomationException
isAddElements
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAddElements(boolean addElements) throws IOException, AutomationException
setAddElements
in interface ISchematicSpatialQueryRule
addElements
- The addElements (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelateElements() throws IOException, AutomationException
isRelateElements
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelateElements(boolean relateElements) throws IOException, AutomationException
setRelateElements
in interface ISchematicSpatialQueryRule
relateElements
- The relateElements (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReverseRelation() throws IOException, AutomationException
isReverseRelation
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReverseRelation(boolean reverseTRelation) throws IOException, AutomationException
setReverseRelation
in interface ISchematicSpatialQueryRule
reverseTRelation
- The reverseTRelation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRelateConnectedNodes() throws IOException, AutomationException
isRelateConnectedNodes
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelateConnectedNodes(boolean relateConnectedNodes) throws IOException, AutomationException
setRelateConnectedNodes
in interface ISchematicSpatialQueryRule
relateConnectedNodes
- The relateConnectedNodes (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRelationshipElementClassName() throws IOException, AutomationException
getRelationshipElementClassName
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelationshipElementClassName(String relationshipClassName) throws IOException, AutomationException
setRelationshipElementClassName
in interface ISchematicSpatialQueryRule
relationshipClassName
- The relationshipClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAddRelationshipElement() throws IOException, AutomationException
isAddRelationshipElement
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAddRelationshipElement(boolean addRelationshipElement) throws IOException, AutomationException
setAddRelationshipElement
in interface ISchematicSpatialQueryRule
addRelationshipElement
- The addRelationshipElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReverseRelationshipLinkOrientation() throws IOException, AutomationException
isReverseRelationshipLinkOrientation
in interface ISchematicSpatialQueryRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReverseRelationshipLinkOrientation(boolean reverseRelationshipLinkOrientation) throws IOException, AutomationException
setReverseRelationshipLinkOrientation
in interface ISchematicSpatialQueryRule
reverseRelationshipLinkOrientation
- The reverseRelationshipLinkOrientation (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 |