com.esri.arcgis.trackinganalyst
Class TemporalCursor

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TemporalCursor
All Implemented Interfaces:
ICursor, IFeatureCursor, ITemporalCursor, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class TemporalCursor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICursor, IFeatureCursor, ITemporalCursor, ISupportErrorInfo

COM Class 'TemporalCursor'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Controls settings for the temporal cursor.' 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.ICursor
IID, IIDd4803ee7_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITemporalCursor
IID, IIDcc018a66_24fb_11d4_b34c_00104ba2abcc, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureCursor
IIDd4803ef8_79f4_11d0_97fc_0080c7f79481
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
TemporalCursor(java.lang.Object obj)
          Construct a TemporalCursor using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void deleteFeature()
          Delete the existing Feature in the database corresponding to the current position of the cursor.
 void deleteRow()
          Delete the existing Row in the database corresponding to the current position of the cursor.
 boolean equals(java.lang.Object o)
          Compare this object with another
 int findField(java.lang.String name)
          The index of the field with the specified name.
 void flush()
          Flush any outstanding buffered writes to the database.
 IFields getFields()
          The Fields Collection for this cursor.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 java.lang.Object insertFeature(IFeatureBuffer buffer)
          Insert a new Feature into the database using the property values in the input buffer.
 java.lang.Object insertRow(IRowBuffer buffer)
          Insert a new Row into the database using the property values in the input buffer.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 IFeature nextFeature()
          Advance the position of the cursor by one and return the Feature object at that position.
 void nextObject(IFeature[] ppiFeature, java.lang.Object[] pvarTimeSeries, long[] phyTimeStamp, int[] plOID)
          Advances the position of the cursor by one and returns the feature object at that position.
 IRow nextRow()
          Advance the position of the cursor by one and return the Row object at that position.
 void release()
          Release a TemporalCursor.
 void reset()
          Resets the cursor position.
 void updateFeature(IFeature object)
          Update the existing Feature in the database corresponding to the current position of the cursor.
 void updateRow(IRow row)
          Update the existing Row in the database corresponding to the current position of the cursor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporalCursor

public TemporalCursor(java.lang.Object obj)
               throws java.io.IOException
Construct a TemporalCursor using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TemporalCursor.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
TemporalCursor o = (TemporalCursor)obj; // will not work

TemporalCursor o = new TemporalCursor(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems TemporalCursor theTemporalCursor = (TemporalCursor) obj;
Method Detail

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

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

findField

public int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
The index of the field with the specified name.

Specified by:
findField in interface ICursor
Specified by:
findField in interface IFeatureCursor
Parameters:
name - The name (in)
Returns:
The fieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The Fields Collection for this cursor.

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

nextRow

public IRow nextRow()
             throws java.io.IOException,
                    AutomationException
Advance the position of the cursor by one and return the Row object at that position.

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

updateRow

public void updateRow(IRow row)
               throws java.io.IOException,
                      AutomationException
Update the existing Row in the database corresponding to the current position of the cursor.

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

deleteRow

public void deleteRow()
               throws java.io.IOException,
                      AutomationException
Delete the existing Row in the database corresponding to the current position of the cursor.

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

insertRow

public java.lang.Object insertRow(IRowBuffer buffer)
                           throws java.io.IOException,
                                  AutomationException
Insert a new Row into the database using the property values in the input buffer. The object ID of the new Row, if there is one, is returned.

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

flush

public void flush()
           throws java.io.IOException,
                  AutomationException
Flush any outstanding buffered writes to the database.

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

nextFeature

public IFeature nextFeature()
                     throws java.io.IOException,
                            AutomationException
Advance the position of the cursor by one and return the Feature object at that position.

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

updateFeature

public void updateFeature(IFeature object)
                   throws java.io.IOException,
                          AutomationException
Update the existing Feature in the database corresponding to the current position of the cursor.

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

deleteFeature

public void deleteFeature()
                   throws java.io.IOException,
                          AutomationException
Delete the existing Feature in the database corresponding to the current position of the cursor.

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

insertFeature

public java.lang.Object insertFeature(IFeatureBuffer buffer)
                               throws java.io.IOException,
                                      AutomationException
Insert a new Feature into the database using the property values in the input buffer. The ID of the new Feature is returned.

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

nextObject

public void nextObject(IFeature[] ppiFeature,
                       java.lang.Object[] pvarTimeSeries,
                       long[] phyTimeStamp,
                       int[] plOID)
                throws java.io.IOException,
                       AutomationException
Advances the position of the cursor by one and returns the feature object at that position.

Specified by:
nextObject in interface ITemporalCursor
Parameters:
ppiFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in/out: use single element array)
pvarTimeSeries - A Variant (in/out: use single element array)
phyTimeStamp - Signed 64-bit int (in/out: use single element array)
plOID - The plOID (in/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 cursor position.

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.