com.esri.arcgis.geodatabase
Class RecordArray

java.lang.Object
  extended by com.esri.arcgis.geodatabase.RecordArray
All Implemented Interfaces:
IRecordArray, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RecordArray
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRecordArray

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

Description 'Esri RecordArray 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRecordArray
IID, IID5cc3bc63_d6d3_4d98_a05b_30eea9d23139, xxDummy
 
Constructor Summary
RecordArray()
          Constructs a RecordArray using ArcGIS Engine.
RecordArray(java.lang.Object obj)
          Construct a RecordArray using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(IRecord rec)
          Adds a record.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The record count.
 IRecord getElement(int index)
          Returns the record at the specified position.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int index, IRecord rec)
          Adds a record at the specified position.
 void release()
          Release a RecordArray.
 void remove(int index)
          Removes the record at the specified position.
 void removeAll()
          Removes all records.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordArray

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

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

RecordArray

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

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

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The record count.

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

getElement

public IRecord getElement(int index)
                   throws java.io.IOException,
                          AutomationException
Returns the record at the specified position.

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

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the record at the specified position.

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

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all records.

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

add

public void add(IRecord rec)
         throws java.io.IOException,
                AutomationException
Adds a record.

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

insert

public void insert(int index,
                   IRecord rec)
            throws java.io.IOException,
                   AutomationException
Adds a record at the specified position.

Specified by:
insert in interface IRecordArray
Parameters:
index - The index (in)
rec - A reference to a com.esri.arcgis.geodatabase.IRecord (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.