com.esri.arcgis.geodatabase
Class RecordNumberSet

java.lang.Object
  extended by com.esri.arcgis.geodatabase.RecordNumberSet
All Implemented Interfaces:
IFIDSet, IFIDSet2, IFIDSetOperator, IRecordNumberSet, com.esri.arcgis.interop.RemoteObjRef, IClone, java.io.Serializable

public class RecordNumberSet
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFIDSet, IFIDSet2, IFIDSetOperator, IClone, IRecordNumberSet

COM Class 'RecordNumberSet'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'A collection of record numbers. Record number sets are used in selections with file based data.' 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.geodatabase.IFIDSet2
IID, IID6ebaadc0_7541_46a4_82d7_4842ec9b1e55, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFIDSet
IIDd79bdaf1_caa8_11d2_b2be_0000f878229e
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFIDSetOperator
IID, IIDed3c0c61_0c11_49e1_9d71_f3d2caff085f, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRecordNumberSet
IID, IID33572f5a_46c7_11d4_a124_00c04f6bdf0e, xxDummy
 
Constructor Summary
RecordNumberSet()
          Constructs a RecordNumberSet using ArcGIS Engine.
RecordNumberSet(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RecordNumberSet theRecordNumberSet = (RecordNumberSet) obj;
 
Method Summary
 void add(int fID)
          Adds a feature id to the set.
 void addRange(int minRecord, int maxRecord)
          Adds a range of record numbers to the collection starting with the minRecord and ending with the maxRecord.
 IRecordNumberSet and(IRecordNumberSet otherRecordNumberSet)
          Combines the record numbers that are common to both collections into a single collection.
 void assign(IClone src)
          Assigns the properties of src to the receiver.
 void clearAll()
          Clear all record numbers.
 int count()
          The number of elements in the FID set.
 void delete(int fID)
          Deletes a feature id from the set.
 IFIDSet difference(IFIDSet otherFIDSet)
          Returns the feature IDs that are not in the collection, but are present in the input collection.
 IRecordNumberSet difference(IRecordNumberSet otherRecordNumberSet)
          Returns the record numbers that are not in the collection, but are present in the input collection.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClone esri_clone()
          Clones the receiver and assigns the result to *clone.
 void find(int fID, boolean[] doesExist)
          Finds a feature id in the set.
static java.lang.String getClsid()
          getClsid.
 IEnumIDs getIDs()
          Enumerates the object ids in the FID set.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMaximumRecordNumber()
          The maximum record in the record number collection.
 int getMinimumRecordNumber()
          The minimum record in the record number collection.
 int hashCode()
          the hashcode for this object
 IFIDSet intersect(IFIDSet otherFIDSet)
          Combines the feature IDs that are common to both collections into a single collection.
 boolean isEqual(IClone other)
          Indicates if the receiver and other have the same properties.
 boolean isIdentical(IClone other)
          Indicates if the receiver and other are the same object.
 IRecordNumberSet negate()
          Inverts the collection; selected records become unselected and unselected records become selected.
 void next(int[] fID)
          Gets the next feature id from the set.
 IRecordNumberSet or(IRecordNumberSet otherRecordNumberSet)
          Combines all the record numbers that are in one or the other collection into a single collection.
 void release()
          Release a RecordNumberSet.
 void reset()
          Resets the internal cursor.
 void setAll()
          Set all record numbers.
 void setBounds(int startRecordNumber, int maxRecordNumber)
          Sets the starting and ending record numbers for the record number collection, then adds all record numbers between those values to the collection.
 void setEmpty()
          Empties the FID set.
 IFIDSet symmetricDifference(IFIDSet otherFIDSet)
          Combines the feature IDs that are in one of the collections, but not both collections, into a single collection.
 IFIDSet union(IFIDSet otherFIDSet)
          Combines all the feature IDs that are in one or the other collection into a single collection.
 IRecordNumberSet xOr(IRecordNumberSet otherRecordNumberSet)
          Combines the record numbers that are in one of the collections, but not both collections, into a single collection.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordNumberSet

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

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

RecordNumberSet

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

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

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 RecordNumberSet.

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

add

public void add(int fID)
         throws java.io.IOException,
                AutomationException
Adds a feature id to the set.

Specified by:
add in interface IFIDSet
Specified by:
add in interface IRecordNumberSet
Parameters:
fID - The fID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(int fID)
            throws java.io.IOException,
                   AutomationException
Deletes a feature id from the set.

Specified by:
delete in interface IFIDSet
Specified by:
delete in interface IRecordNumberSet
Parameters:
fID - The fID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public void find(int fID,
                 boolean[] doesExist)
          throws java.io.IOException,
                 AutomationException
Finds a feature id in the set.

Specified by:
find in interface IFIDSet
Parameters:
fID - The fID (in)
doesExist - The doesExist (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public void next(int[] fID)
          throws java.io.IOException,
                 AutomationException
Gets the next feature id from the set.

Specified by:
next in interface IFIDSet
Parameters:
fID - The fID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the internal cursor.

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

count

public int count()
          throws java.io.IOException,
                 AutomationException
The number of elements in the FID set.

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

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Empties the FID set.

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

getIDs

public IEnumIDs getIDs()
                throws java.io.IOException,
                       AutomationException
Enumerates the object ids in the FID set.

Specified by:
getIDs in interface IFIDSet2
Specified by:
getIDs in interface IRecordNumberSet
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumIDs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

union

public IFIDSet union(IFIDSet otherFIDSet)
              throws java.io.IOException,
                     AutomationException
Combines all the feature IDs that are in one or the other collection into a single collection.

Specified by:
union in interface IFIDSetOperator
Parameters:
otherFIDSet - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFIDSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

intersect

public IFIDSet intersect(IFIDSet otherFIDSet)
                  throws java.io.IOException,
                         AutomationException
Combines the feature IDs that are common to both collections into a single collection.

Specified by:
intersect in interface IFIDSetOperator
Parameters:
otherFIDSet - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFIDSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

difference

public IFIDSet difference(IFIDSet otherFIDSet)
                   throws java.io.IOException,
                          AutomationException
Returns the feature IDs that are not in the collection, but are present in the input collection.

Specified by:
difference in interface IFIDSetOperator
Parameters:
otherFIDSet - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFIDSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

symmetricDifference

public IFIDSet symmetricDifference(IFIDSet otherFIDSet)
                            throws java.io.IOException,
                                   AutomationException
Combines the feature IDs that are in one of the collections, but not both collections, into a single collection.

Specified by:
symmetricDifference in interface IFIDSetOperator
Parameters:
otherFIDSet - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFIDSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

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

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

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

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBounds

public void setBounds(int startRecordNumber,
                      int maxRecordNumber)
               throws java.io.IOException,
                      AutomationException
Sets the starting and ending record numbers for the record number collection, then adds all record numbers between those values to the collection.

Specified by:
setBounds in interface IRecordNumberSet
Parameters:
startRecordNumber - The startRecordNumber (in)
maxRecordNumber - The maxRecordNumber (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumRecordNumber

public int getMinimumRecordNumber()
                           throws java.io.IOException,
                                  AutomationException
The minimum record in the record number collection.

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

getMaximumRecordNumber

public int getMaximumRecordNumber()
                           throws java.io.IOException,
                                  AutomationException
The maximum record in the record number collection.

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

addRange

public void addRange(int minRecord,
                     int maxRecord)
              throws java.io.IOException,
                     AutomationException
Adds a range of record numbers to the collection starting with the minRecord and ending with the maxRecord.

Specified by:
addRange in interface IRecordNumberSet
Parameters:
minRecord - The minRecord (in)
maxRecord - The maxRecord (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAll

public void setAll()
            throws java.io.IOException,
                   AutomationException
Set all record numbers.

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

clearAll

public void clearAll()
              throws java.io.IOException,
                     AutomationException
Clear all record numbers.

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

and

public IRecordNumberSet and(IRecordNumberSet otherRecordNumberSet)
                     throws java.io.IOException,
                            AutomationException
Combines the record numbers that are common to both collections into a single collection.

Specified by:
and in interface IRecordNumberSet
Parameters:
otherRecordNumberSet - A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

or

public IRecordNumberSet or(IRecordNumberSet otherRecordNumberSet)
                    throws java.io.IOException,
                           AutomationException
Combines all the record numbers that are in one or the other collection into a single collection.

Specified by:
or in interface IRecordNumberSet
Parameters:
otherRecordNumberSet - A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

xOr

public IRecordNumberSet xOr(IRecordNumberSet otherRecordNumberSet)
                     throws java.io.IOException,
                            AutomationException
Combines the record numbers that are in one of the collections, but not both collections, into a single collection.

Specified by:
xOr in interface IRecordNumberSet
Parameters:
otherRecordNumberSet - A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

difference

public IRecordNumberSet difference(IRecordNumberSet otherRecordNumberSet)
                            throws java.io.IOException,
                                   AutomationException
Returns the record numbers that are not in the collection, but are present in the input collection.

Specified by:
difference in interface IRecordNumberSet
Parameters:
otherRecordNumberSet - A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

negate

public IRecordNumberSet negate()
                        throws java.io.IOException,
                               AutomationException
Inverts the collection; selected records become unselected and unselected records become selected.

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