|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.RecordNumberSet
public class RecordNumberSet
A collection of record numbers. Record number sets are used in selections with file based data.
Constructor Summary | |
---|---|
RecordNumberSet()
Constructs a RecordNumberSet using ArcGIS Engine. |
|
RecordNumberSet(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(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 String |
getClsid()
getClsid. |
IEnumIDs |
getIDs()
Enumerates the object ids in the FID set. |
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 |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RecordNumberSet() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RecordNumberSet(Object obj) throws IOException
RecordNumberSet theRecordNumberSet = (RecordNumberSet) obj;
obj
to RecordNumberSet
.
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 void add(int fID) throws IOException, AutomationException
add
in interface IFIDSet
add
in interface IRecordNumberSet
fID
- The fID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(int fID) throws IOException, AutomationException
delete
in interface IFIDSet
delete
in interface IRecordNumberSet
fID
- The fID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void find(int fID, boolean[] doesExist) throws IOException, AutomationException
find
in interface IFIDSet
fID
- The fID (in)doesExist
- The doesExist (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void next(int[] fID) throws IOException, AutomationException
Calling Next when there are no more IDs in the FIDset will return -1.
next
in interface IFIDSet
fID
- The fID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IFIDSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int count() throws IOException, AutomationException
count
in interface IFIDSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEmpty() throws IOException, AutomationException
setEmpty
in interface IFIDSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumIDs getIDs() throws IOException, AutomationException
getIDs
in interface IFIDSet2
getIDs
in interface IRecordNumberSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet union(IFIDSet otherFIDSet) throws IOException, AutomationException
union
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet intersect(IFIDSet otherFIDSet) throws IOException, AutomationException
intersect
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet difference(IFIDSet otherFIDSet) throws IOException, AutomationException
difference
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFIDSet symmetricDifference(IFIDSet otherFIDSet) throws IOException, AutomationException
symmetricDifference
in interface IFIDSetOperator
otherFIDSet
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBounds(int startRecordNumber, int maxRecordNumber) throws IOException, AutomationException
setBounds
in interface IRecordNumberSet
startRecordNumber
- The startRecordNumber (in)maxRecordNumber
- The maxRecordNumber (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMinimumRecordNumber() throws IOException, AutomationException
getMinimumRecordNumber
in interface IRecordNumberSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaximumRecordNumber() throws IOException, AutomationException
getMaximumRecordNumber
in interface IRecordNumberSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addRange(int minRecord, int maxRecord) throws IOException, AutomationException
addRange
in interface IRecordNumberSet
minRecord
- The minRecord (in)maxRecord
- The maxRecord (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAll() throws IOException, AutomationException
setAll
in interface IRecordNumberSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearAll() throws IOException, AutomationException
clearAll
in interface IRecordNumberSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet and(IRecordNumberSet otherRecordNumberSet) throws IOException, AutomationException
and
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet or(IRecordNumberSet otherRecordNumberSet) throws IOException, AutomationException
or
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet xOr(IRecordNumberSet otherRecordNumberSet) throws IOException, AutomationException
xOr
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet difference(IRecordNumberSet otherRecordNumberSet) throws IOException, AutomationException
difference
in interface IRecordNumberSet
otherRecordNumberSet
- A reference to a com.esri.arcgis.geodatabase.IRecordNumberSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRecordNumberSet negate() throws IOException, AutomationException
negate
in interface IRecordNumberSet
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 |