com.esri.arcgis.schematic
Class NgDiscreteFilters

java.lang.Object
  extended by com.esri.arcgis.schematic.NgDiscreteFilters
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INgDiscreteFilters, ISupportErrorInfo, Serializable

public class NgDiscreteFilters
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INgDiscreteFilters, ISupportErrorInfo

Graphic discrete filters collection object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
NgDiscreteFilters()
          Constructs a NgDiscreteFilters using ArcGIS Engine.
NgDiscreteFilters(Object obj)
          Construct a NgDiscreteFilters using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(INgDiscreteFilter item)
          Adds a new discrete property filter in the collection.
 void clear()
          Removes all the discrete property filters from the collection.
 boolean equals(Object o)
          Compare this object with another
 Enumeration get_NewEnum()
          Retrieves an IEnumVariant interface that enumerates the collection's content.
static String getClsid()
          getClsid.
 int getCount()
          Number of discrete property filters in the collection.
 INgDiscreteFilter getItem(int index)
          The discrete property filter 'index' item in the collection.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void remove(int index)
          Removes the discrete property filter 'index' item from the collection.
 
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

NgDiscreteFilters

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

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

NgDiscreteFilters

public NgDiscreteFilters(Object obj)
                  throws IOException
Construct a NgDiscreteFilters using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NgDiscreteFilters.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems NgDiscreteFilters theNgDiscreteFilters = (NgDiscreteFilters) obj;
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

get_NewEnum

public Enumeration get_NewEnum()
                        throws IOException,
                               AutomationException
Retrieves an IEnumVariant interface that enumerates the collection's content. This method supports the FOR EACH statement in VB.

Product Availability

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

Specified by:
get_NewEnum in interface INgDiscreteFilters
Returns:
An enumeration.
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

public INgDiscreteFilter getItem(int index)
                          throws IOException,
                                 AutomationException
The discrete property filter 'index' item in the collection.

Product Availability

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

Specified by:
getItem in interface INgDiscreteFilters
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.schematic.INgDiscreteFilter
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
Number of discrete property filters in the collection.

Product Availability

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

Specified by:
getCount in interface INgDiscreteFilters
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(INgDiscreteFilter item)
         throws IOException,
                AutomationException
Adds a new discrete property filter in the collection.

Product Availability

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

Specified by:
add in interface INgDiscreteFilters
Parameters:
item - A reference to a com.esri.arcgis.schematic.INgDiscreteFilter (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws IOException,
                   AutomationException
Removes the discrete property filter 'index' item from the collection.

Product Availability

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

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

clear

public void clear()
           throws IOException,
                  AutomationException
Removes all the discrete property filters from the collection.

Product Availability

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

Specified by:
clear in interface INgDiscreteFilters
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.