com.esri.arcgis.schematic
Class SchematicFeatureRemovalRule

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

public class SchematicFeatureRemovalRule
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicRule, ISchematicRuleDesign, ISchematicRuleFilter, ISchematicFeatureRemovalRule

COM Class 'SchematicFeatureRemovalRule'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriSchematic.olb'

Description 'Schematic feature removal rule object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRule
IID, IID0f611689_2c12_4e4d_80b9_cca2b3d5c7f4, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRuleDesign
IID, IIDf11386df_d11d_4b5b_8d80_05cd6fb7d2e5, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicRuleFilter
IID, IID3baea23d_9486_4680_810d_c54ea50ea610, xxDummy
 
Fields inherited from interface com.esri.arcgis.schematic.ISchematicFeatureRemovalRule
IID, IID9f7e925e_4c7d_42f8_916f_9905f5916641, xxDummy
 
Constructor Summary
SchematicFeatureRemovalRule()
          Constructs a SchematicFeatureRemovalRule using ArcGIS Engine.
SchematicFeatureRemovalRule(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicFeatureRemovalRule theSchematicFeatureRemovalRule = (SchematicFeatureRemovalRule) 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(java.lang.Object o)
          Compare this object with another
 java.lang.String getAttributeName()
          Name of the attribute used to filter the feature to remove.
 IUID getClassID()
          ClassID of the schematic rule.
static java.lang.String getClsid()
          getClsid.
 int getCompareType()
          Type of comparaison of attribute value.
 java.lang.String getDescription()
          Description of the schematic rule.
 java.lang.String getElementClassName()
          Name of the schematic link element class related to the Feature removal rule; that is, name of the schematic link element class to reduce.
 java.lang.String getExtendedCriteriaName()
          Extended criteria name used to filter the features to remove.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          Name of the schematic rule.
 IPropertySet getPropertySet()
          PropertySet related to the schematic rule.
 ISchematicDiagramClass getSchematicDiagramClass()
          Schematic diagram class related to the schematic rule.
 java.lang.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 isRemoveOrphanNodes()
          Indicates if the orphan nodes must be removed.
 boolean isUseAttributeName()
          Indicates if an attribute is used to filter the feature to remove.
 boolean isUseWhereClause()
          Indicates if there is an SQL where clause to filter the features to remove.
 void release()
          Release a SchematicFeatureRemovalRule.
 void setAttributeName(java.lang.String attributeName)
          Name of the attribute used to filter the feature to remove.
 void setCompareType(int compareType)
          Type of comparaison of attribute value.
 void setDescription(java.lang.String rhs1)
          Description of the schematic feature removal rule.
 void setElementClassName(java.lang.String elementClassName)
          Name of the schematic link element class related to the Feature removal rule; that is, name of the schematic link element class to reduce.
 void setExtendedCriteriaName(java.lang.String extendedCriteriaName)
          Extended criteria name used to filter the features to remove.
 void setExtendedCriteriaUsed(boolean extendedCriteriaUsed)
          Indicates if additional extended criteria is used.
 void setPropertySet(IPropertySet rhs1)
          PropertySet related to the schematic rule.
 void setRemoveOrphanNodes(boolean removeOrphanNodes)
          Indicates if the orphan nodes must be removed.
 void setSchematicDiagramClassByRef(ISchematicDiagramClass schematicDiagramClass)
          Schematic diagram class related to the schematic builder.
 void setUseAttributeName(boolean useAttributeName)
          Indicates if an attribute is used to filter the feature to remove.
 void setUseWhereClause(boolean useWhereClause)
          Indicates if there is an SQL where clause to filter the features to remove.
 void setWhereClause(java.lang.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
 

Constructor Detail

SchematicFeatureRemovalRule

public SchematicFeatureRemovalRule()
                            throws java.io.IOException,
                                   java.net.UnknownHostException
Constructs a SchematicFeatureRemovalRule using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SchematicFeatureRemovalRule

public SchematicFeatureRemovalRule(java.lang.Object obj)
                            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicFeatureRemovalRule theSchematicFeatureRemovalRule = (SchematicFeatureRemovalRule) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a SchematicFeatureRemovalRule.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

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

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

getDescription

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

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

getClassID

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

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

getPropertySet

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

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

getSchematicDiagramClass

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

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

alter

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

apply

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPropertySet

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

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

setSchematicDiagramClassByRef

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

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

detach

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

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

canApply

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

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

setDescription

public void setDescription(java.lang.String rhs1)
                    throws java.io.IOException,
                           AutomationException
Description of the schematic feature removal rule.

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

getElementClassName

public java.lang.String getElementClassName()
                                     throws java.io.IOException,
                                            AutomationException
Name of the schematic link element class related to the Feature removal rule; that is, name of the schematic link element class to reduce.

Specified by:
getElementClassName in interface ISchematicFeatureRemovalRule
Returns:
The elementClassName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElementClassName

public void setElementClassName(java.lang.String elementClassName)
                         throws java.io.IOException,
                                AutomationException
Name of the schematic link element class related to the Feature removal rule; that is, name of the schematic link element class to reduce.

Specified by:
setElementClassName in interface ISchematicFeatureRemovalRule
Parameters:
elementClassName - The elementClassName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhereClause

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

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

setWhereClause

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

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

isExtendedCriteriaUsed

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

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

setExtendedCriteriaUsed

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

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

getExtendedCriteriaName

public java.lang.String getExtendedCriteriaName()
                                         throws java.io.IOException,
                                                AutomationException
Extended criteria name used to filter the features to remove.

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

setExtendedCriteriaName

public void setExtendedCriteriaName(java.lang.String extendedCriteriaName)
                             throws java.io.IOException,
                                    AutomationException
Extended criteria name used to filter the features to remove.

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

isRemoveOrphanNodes

public boolean isRemoveOrphanNodes()
                            throws java.io.IOException,
                                   AutomationException
Indicates if the orphan nodes must be removed.

Specified by:
isRemoveOrphanNodes in interface ISchematicFeatureRemovalRule
Returns:
The removeOrphanNodes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRemoveOrphanNodes

public void setRemoveOrphanNodes(boolean removeOrphanNodes)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the orphan nodes must be removed.

Specified by:
setRemoveOrphanNodes in interface ISchematicFeatureRemovalRule
Parameters:
removeOrphanNodes - The removeOrphanNodes (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseWhereClause

public boolean isUseWhereClause()
                         throws java.io.IOException,
                                AutomationException
Indicates if there is an SQL where clause to filter the features to remove.

Specified by:
isUseWhereClause in interface ISchematicFeatureRemovalRule
Returns:
The useWhereClause
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseWhereClause

public void setUseWhereClause(boolean useWhereClause)
                       throws java.io.IOException,
                              AutomationException
Indicates if there is an SQL where clause to filter the features to remove.

Specified by:
setUseWhereClause in interface ISchematicFeatureRemovalRule
Parameters:
useWhereClause - The useWhereClause (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseAttributeName

public boolean isUseAttributeName()
                           throws java.io.IOException,
                                  AutomationException
Indicates if an attribute is used to filter the feature to remove.

Specified by:
isUseAttributeName in interface ISchematicFeatureRemovalRule
Returns:
The useAttributeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseAttributeName

public void setUseAttributeName(boolean useAttributeName)
                         throws java.io.IOException,
                                AutomationException
Indicates if an attribute is used to filter the feature to remove.

Specified by:
setUseAttributeName in interface ISchematicFeatureRemovalRule
Parameters:
useAttributeName - The useAttributeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeName

public java.lang.String getAttributeName()
                                  throws java.io.IOException,
                                         AutomationException
Name of the attribute used to filter the feature to remove.

Specified by:
getAttributeName in interface ISchematicFeatureRemovalRule
Returns:
The attributeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeName

public void setAttributeName(java.lang.String attributeName)
                      throws java.io.IOException,
                             AutomationException
Name of the attribute used to filter the feature to remove.

Specified by:
setAttributeName in interface ISchematicFeatureRemovalRule
Parameters:
attributeName - The attributeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompareType

public int getCompareType()
                   throws java.io.IOException,
                          AutomationException
Type of comparaison of attribute value.

Specified by:
getCompareType in interface ISchematicFeatureRemovalRule
Returns:
The compareType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCompareType

public void setCompareType(int compareType)
                    throws java.io.IOException,
                           AutomationException
Type of comparaison of attribute value.

Specified by:
setCompareType in interface ISchematicFeatureRemovalRule
Parameters:
compareType - The compareType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.