public class RecordNumberSet extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IFIDSet, IFIDSetOperator, IClone, IRecordNumberSet
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 =
IID, IIDd79bdaf1_caa8_11d2_b2be_0000f878229e, xxDummy
IID, IIDed3c0c61_0c11_49e1_9d71_f3d2caff085f, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID33572f5a_46c7_11d4_a124_00c04f6bdf0e, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
void |
add(int recordNumber)
Adds a record number to the collection.
|
void |
add(long oID)
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.
|
long |
count()
The number of elements in the FID set.
|
void |
delete(int recordNumber)
Removes a record number from the collection.
|
void |
delete(long oID)
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(long oID,
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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(long[] oID)
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 this COM object reference
|
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.
|
public RecordNumberSet() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RecordNumberSet(java.lang.Object obj) throws java.io.IOException
RecordNumberSet theRecordNumberSet = (RecordNumberSet) obj;
obj
to RecordNumberSet
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void add(long oID) throws java.io.IOException, AutomationException
add
in interface IFIDSet
oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void delete(long oID) throws java.io.IOException, AutomationException
delete
in interface IFIDSet
oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void find(long oID, boolean[] doesExist) throws java.io.IOException, AutomationException
find
in interface IFIDSet
oID
- Signed 64-bit int (in)doesExist
- The doesExist (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void next(long[] oID) throws java.io.IOException, AutomationException
next
in interface IFIDSet
oID
- Signed 64-bit int (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IFIDSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long count() throws java.io.IOException, AutomationException
count
in interface IFIDSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEmpty() throws java.io.IOException, AutomationException
setEmpty
in interface IFIDSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumIDs getIDs() throws java.io.IOException, AutomationException
getIDs
in interface IFIDSet
getIDs
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFIDSet union(IFIDSet otherFIDSet) throws java.io.IOException, AutomationException
union
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFIDSet intersect(IFIDSet otherFIDSet) throws java.io.IOException, AutomationException
intersect
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFIDSet difference(IFIDSet otherFIDSet) throws java.io.IOException, AutomationException
difference
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IFIDSet symmetricDifference(IFIDSet otherFIDSet) throws java.io.IOException, AutomationException
symmetricDifference
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setBounds(int startRecordNumber, int maxRecordNumber) throws java.io.IOException, AutomationException
setBounds
in interface IRecordNumberSet
startRecordNumber
- The startRecordNumber (in)maxRecordNumber
- The maxRecordNumber (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMinimumRecordNumber() throws java.io.IOException, AutomationException
getMinimumRecordNumber
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMaximumRecordNumber() throws java.io.IOException, AutomationException
getMaximumRecordNumber
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void add(int recordNumber) throws java.io.IOException, AutomationException
add
in interface IRecordNumberSet
recordNumber
- The recordNumber (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void delete(int recordNumber) throws java.io.IOException, AutomationException
delete
in interface IRecordNumberSet
recordNumber
- The recordNumber (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addRange(int minRecord, int maxRecord) throws java.io.IOException, AutomationException
addRange
in interface IRecordNumberSet
minRecord
- The minRecord (in)maxRecord
- The maxRecord (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAll() throws java.io.IOException, AutomationException
setAll
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void clearAll() throws java.io.IOException, AutomationException
clearAll
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet and(IRecordNumberSet otherRecordNumberSet) throws java.io.IOException, AutomationException
and
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet or(IRecordNumberSet otherRecordNumberSet) throws java.io.IOException, AutomationException
or
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet xOr(IRecordNumberSet otherRecordNumberSet) throws java.io.IOException, AutomationException
xOr
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet difference(IRecordNumberSet otherRecordNumberSet) throws java.io.IOException, AutomationException
difference
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet negate() throws java.io.IOException, AutomationException
negate
in interface IRecordNumberSet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.