|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicRelationshipRule
public class SchematicRelationshipRule
Schematic Relationship rule object.
Constructor Summary | |
---|---|
SchematicRelationshipRule()
Constructs a SchematicRelationshipRule using ArcGIS Engine. |
|
SchematicRelationshipRule(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SchematicRelationshipRule theSchematicRelationshipRule = (SchematicRelationshipRule) 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 |
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. |
double |
getOffsetAngle()
Angle of offset at start. |
double |
getOffsetDistance()
Value of the offset distance. |
IPropertySet |
getPropertySet()
PropertySet related to the schematic rule. |
String |
getRelationshipClassName()
Relationship class name related to the Schematic Relationship rule. |
String |
getRelationshipElementClassName()
Relationship element class name related to the Schematic Relationship rule. |
ISchematicDiagramClass |
getSchematicDiagramClass()
Schematic diagram class related to the schematic rule. |
String |
getSourceElementClassName()
Source element class name related to the Schematic Relationship rule. |
String |
getTargetElementClassName()
Target element class name related to the Schematic Relationship rule. |
int |
hashCode()
the hashcode for this object |
boolean |
isAddRelationBetweenTargetAndSource()
Indicates if the relation between target and source must be included in the diagram. |
boolean |
isAddRelationshipElement()
Indicates if the relationship element must be included in the diagram. |
boolean |
isAddTargetElement()
Indicates if the target element must be included in the diagram. |
boolean |
isInitializeTargetVertices()
Indicates if vertices on the target must be initialized. |
boolean |
isReportSourceRelationOnTarget()
Indicates if the source relation must be reported on the target. |
boolean |
isReportTargetRelationOnConnectedNodes()
Indicates if the target relation must be reported on the connected nodes. |
boolean |
isReverseRelationshipLinkOrientation()
Indicates if the relationship link orientation must be reversed. |
boolean |
isReverseTargetRelation()
Indicates if the target relation must be reversed. |
void |
setAddRelationBetweenTargetAndSource(boolean addRelationBetweenTargetAndSource)
Indicates if the relation between target and source must be included in the diagram. |
void |
setAddRelationshipElement(boolean addRelationshipElement)
Indicates if the relationship element must be included in the diagram. |
void |
setAddTargetElement(boolean addTargetElement)
Indicates if the target element must be included in the diagram. |
void |
setDescription(String description)
Description of the Schematic Relationship rule. |
void |
setInitializeTargetVertices(boolean initializeTargetVertices)
Indicates if vertices on the target must be initialized. |
void |
setOffsetAngle(double offsetAngle)
Angle of offset at start. |
void |
setOffsetDistance(double offsetDistance)
Value of the offset distance. |
void |
setPropertySet(IPropertySet rhs1)
PropertySet related to the schematic rule. |
void |
setRelationshipClassName(String relationshipClassName)
Relationship class name related to the Schematic Relationship rule. |
void |
setRelationshipElementClassName(String relationshipClassName)
Relationship element class name related to the Schematic Relationship rule. |
void |
setReportSourceRelationOnTarget(boolean reportSourceRelationOnTarget)
Indicates if the source relation must be reported on the target. |
void |
setReportTargetRelationOnConnectedNodes(boolean reportTargetRelationOnConnectedNodes)
Indicates if the target relation must be reported on the connected nodes. |
void |
setReverseRelationshipLinkOrientation(boolean reverseRelationshipLinkOrientation)
Indicates if the relationship link orientation must be reversed. |
void |
setReverseTargetRelation(boolean reverseTargetRelation)
Indicates if the target relation must be reversed. |
void |
setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass)
Schematic diagram class related to the schematic builder. |
void |
setSourceElementClassName(String sourceClassName)
Source element class name related to the Schematic Relationship rule. |
void |
setTargetElementClassName(String targetClassName)
Target element class name related to the Schematic Relationship rule. |
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 SchematicRelationshipRule() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SchematicRelationshipRule(Object obj) throws IOException
SchematicRelationshipRule theSchematicRelationshipRule = (SchematicRelationshipRule) obj;
obj
to SchematicRelationshipRule
.
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 ISchematicRelationshipRule
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 ISchematicRelationshipRule
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRelationshipClassName() throws IOException, AutomationException
getRelationshipClassName
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelationshipClassName(String relationshipClassName) throws IOException, AutomationException
setRelationshipClassName
in interface ISchematicRelationshipRule
relationshipClassName
- The relationshipClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSourceElementClassName() throws IOException, AutomationException
getSourceElementClassName
in interface ISchematicRelationshipRule
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 ISchematicRelationshipRule
sourceClassName
- The sourceClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTargetElementClassName() throws IOException, AutomationException
getTargetElementClassName
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTargetElementClassName(String targetClassName) throws IOException, AutomationException
setTargetElementClassName
in interface ISchematicRelationshipRule
targetClassName
- The targetClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRelationshipElementClassName() throws IOException, AutomationException
getRelationshipElementClassName
in interface ISchematicRelationshipRule
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 ISchematicRelationshipRule
relationshipClassName
- The relationshipClassName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAddTargetElement() throws IOException, AutomationException
isAddTargetElement
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAddTargetElement(boolean addTargetElement) throws IOException, AutomationException
setAddTargetElement
in interface ISchematicRelationshipRule
addTargetElement
- The addTargetElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAddRelationBetweenTargetAndSource() throws IOException, AutomationException
isAddRelationBetweenTargetAndSource
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAddRelationBetweenTargetAndSource(boolean addRelationBetweenTargetAndSource) throws IOException, AutomationException
setAddRelationBetweenTargetAndSource
in interface ISchematicRelationshipRule
addRelationBetweenTargetAndSource
- The addRelationBetweenTargetAndSource (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReverseTargetRelation() throws IOException, AutomationException
isReverseTargetRelation
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReverseTargetRelation(boolean reverseTargetRelation) throws IOException, AutomationException
setReverseTargetRelation
in interface ISchematicRelationshipRule
reverseTargetRelation
- The reverseTargetRelation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInitializeTargetVertices(boolean initializeTargetVertices) throws IOException, AutomationException
setInitializeTargetVertices
in interface ISchematicRelationshipRule
initializeTargetVertices
- The initializeTargetVertices (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isInitializeTargetVertices() throws IOException, AutomationException
isInitializeTargetVertices
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReportSourceRelationOnTarget() throws IOException, AutomationException
isReportSourceRelationOnTarget
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReportSourceRelationOnTarget(boolean reportSourceRelationOnTarget) throws IOException, AutomationException
setReportSourceRelationOnTarget
in interface ISchematicRelationshipRule
reportSourceRelationOnTarget
- The reportSourceRelationOnTarget (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isReportTargetRelationOnConnectedNodes() throws IOException, AutomationException
isReportTargetRelationOnConnectedNodes
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReportTargetRelationOnConnectedNodes(boolean reportTargetRelationOnConnectedNodes) throws IOException, AutomationException
setReportTargetRelationOnConnectedNodes
in interface ISchematicRelationshipRule
reportTargetRelationOnConnectedNodes
- The reportTargetRelationOnConnectedNodes (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAddRelationshipElement() throws IOException, AutomationException
isAddRelationshipElement
in interface ISchematicRelationshipRule
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 ISchematicRelationshipRule
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 ISchematicRelationshipRule
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 ISchematicRelationshipRule
reverseRelationshipLinkOrientation
- The reverseRelationshipLinkOrientation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffsetDistance() throws IOException, AutomationException
getOffsetDistance
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffsetDistance(double offsetDistance) throws IOException, AutomationException
setOffsetDistance
in interface ISchematicRelationshipRule
offsetDistance
- The offsetDistance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffsetAngle() throws IOException, AutomationException
getOffsetAngle
in interface ISchematicRelationshipRule
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffsetAngle(double offsetAngle) throws IOException, AutomationException
setOffsetAngle
in interface ISchematicRelationshipRule
offsetAngle
- The offsetAngle (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 |