public class SelectionSet extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISelectionSet, ISelectionSet2, ISelectionSet3
Description 'Esri Selection Set 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 =
IID, IID97a3eebc_ee8a_4274_aef1_8a40feb8b686, xxDummyIID098af83f_8390_11d4_9fd1_00c04f6bdf0cIIDf7ad47d1_d55e_11d1_8882_0000f877762d| Constructor and Description |
|---|
SelectionSet(java.lang.Object obj)
Construct a SelectionSet using a reference to such an object returned from ArcGIS Engine or Server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long oID)
Adds an object id to the selection set.
|
void |
addGlobalID(java.lang.String globalID)
Adds a globalid to the selection set.
|
void |
addGlobalIDList(int count,
java.lang.String[] globalIDList)
Adds a list of globalids to the selection set.
|
void |
addList(long count,
long[] oIDList)
Adds a list of object id's to the selection set.
|
void |
combine(ISelectionSet otherSet,
int setOp,
ISelectionSet[] resultSet)
Combines this selection set with another selection set using the specified set operation.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
long |
getCount()
The number of oids in the selection set.
|
IName |
getFullName()
The full name of the selection set.
|
java.lang.String[] |
getGlobalIDs()
Returns the globalids in the selection set.
|
IEnumIDs |
getIDs()
Enumerates the object ids in the selection 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.
|
ITable |
getTarget()
The Table or FeatureClass over which the selection set is defined.
|
int |
hashCode()
the hashcode for this object
|
void |
makePermanent()
Makes the SelectionSet permanent.
|
void |
refresh()
Refreshes the state of a snapshot selection.
|
void |
release()
Release this COM object reference
|
void |
removeGlobalIDList(int count,
java.lang.String[] globalIDList)
Removes a list of globalids from the selection set.
|
void |
removeList(long count,
long[] oIDList)
Removes a list of object id's from the selection set.
|
void |
search(IQueryFilter queryFilter,
boolean recycling,
ICursor[] cursor)
Returns a cursor that can be used to retrieve the objects specified by a query over this selection set.
|
ISelectionSet |
select(IQueryFilter queryFilter,
int selType,
int selOption,
IWorkspace selectionContainer)
Returns a new selection That contains the object ids selected by a query over this selection set.
|
void |
update(IQueryFilter queryFilter,
boolean recycling,
ICursor[] cursor)
Returns a cursor that can be used to update the objects specified by a query over this selection set.
|
public SelectionSet(java.lang.Object obj)
throws java.io.IOException
obj to SelectionSet. *
SelectionSet o = (SelectionSet)obj; // will not work
SelectionSet o = new SelectionSet(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problems
SelectionSet theSelectionSet = (SelectionSet) obj;public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IName getFullName() throws java.io.IOException, AutomationException
getFullName in interface ISelectionSetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITable getTarget() throws java.io.IOException, AutomationException
getTarget in interface ISelectionSetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void makePermanent()
throws java.io.IOException,
AutomationException
makePermanent in interface ISelectionSetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long getCount()
throws java.io.IOException,
AutomationException
getCount in interface ISelectionSetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void add(long oID)
throws java.io.IOException,
AutomationException
add in interface ISelectionSetoID - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addList(long count,
long[] oIDList)
throws java.io.IOException,
AutomationException
addList in interface ISelectionSetcount - Signed 64-bit int (in)oIDList - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void combine(ISelectionSet otherSet, int setOp, ISelectionSet[] resultSet) throws java.io.IOException, AutomationException
combine in interface ISelectionSetotherSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)setOp - A com.esri.arcgis.geodatabase.esriSetOperation constant (in)resultSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void search(IQueryFilter queryFilter, boolean recycling, ICursor[] cursor) throws java.io.IOException, AutomationException
search in interface ISelectionSetqueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer) throws java.io.IOException, AutomationException
select in interface ISelectionSetqueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)selectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void refresh()
throws java.io.IOException,
AutomationException
refresh in interface ISelectionSetjava.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 ISelectionSetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeList(long count,
long[] oIDList)
throws java.io.IOException,
AutomationException
removeList in interface ISelectionSetcount - Signed 64-bit int (in)oIDList - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void update(IQueryFilter queryFilter, boolean recycling, ICursor[] cursor) throws java.io.IOException, AutomationException
update in interface ISelectionSet2queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addGlobalID(java.lang.String globalID)
throws java.io.IOException,
AutomationException
addGlobalID in interface ISelectionSet3globalID - The globalID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addGlobalIDList(int count,
java.lang.String[] globalIDList)
throws java.io.IOException,
AutomationException
addGlobalIDList in interface ISelectionSet3count - The count (in)globalIDList - The globalIDList (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String[] getGlobalIDs()
throws java.io.IOException,
AutomationException
getGlobalIDs in interface ISelectionSet3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeGlobalIDList(int count,
java.lang.String[] globalIDList)
throws java.io.IOException,
AutomationException
removeGlobalIDList in interface ISelectionSet3count - The count (in)globalIDList - The globalIDList (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.