|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.TemporalFeature
public class TemporalFeature
Controls properties of the Temporal Feature object.
The TemporalFeature object implements a feature that has temporal characteristics. This is a non-creatable object that is created within the bounds of a tracking server Workspace. This object follows the same rules as any other ESRI feature except that it does not allow relations or rules or domains to be applied to it.
| Constructor Summary | |
|---|---|
TemporalFeature(Object obj)
Construct a TemporalFeature using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
delete()
Deletes the row. |
void |
draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
Draws the feature on the display. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
The Object Class for the row. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IEnvelope |
getExtent()
The extent of the feature. |
int |
getFeatureType()
The type of the feature. |
IFields |
getFields()
The fields Collection for this row buffer. |
IInvalidArea |
getInvalidArea()
The area to be drawn. |
int |
getOID()
The OID for the row. |
IGeometry |
getOriginalShape()
The original shape for the feature. |
Object |
getOriginalValue(int index)
The value of the field at the specified index immediately after the last call to Store on the Row object. |
IGeometry |
getShape()
The default shape in the feature buffer. |
IGeometry |
getShapeCopy()
A cloned copy of the default shape for the feature. |
ITable |
getTable()
The Table for the row. |
int |
getTemporalFeatureType()
Specifies the type of feature used in a temporal workspace. |
Object |
getValue(int index)
The value of the field with the specified index. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isEqual(IRow otherRow)
Indicates if the rows (which may be from two different versions) are the same (oid + values). |
boolean |
isHasOID()
Indicates if the row has an OID. |
boolean |
isShapeChanged()
Indicates if the shape has changed. |
boolean |
isValueChanged(int index)
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object. |
void |
setInvalidAreaByRef(IInvalidArea invalidArea)
The area to be drawn. |
void |
setShapeByRef(IGeometry shape)
The default shape in the feature buffer. |
void |
setValue(int index,
Object value)
The value of the field with the specified index. |
void |
store()
Stores the row. |
| 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 TemporalFeature(Object obj)
throws IOException
obj to TemporalFeature. *
TemporalFeature o = (TemporalFeature)obj; // will not work
TemporalFeature o = new TemporalFeature(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
TemporalFeature theTemporalFeature = (TemporalFeature) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getTemporalFeatureType()
throws IOException,
AutomationException
This property indicates which type of temporal feature this is. The enumeration enumTemporalFeatureType describes the various types.
getTemporalFeatureType in interface ITemporalFeatureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShapeCopy()
throws IOException,
AutomationException
The ShapeCopy property is a cloned copy of the feature’s Shape. When modifying the geometry of a feature or a set of features, use the ShapeCopy property to obtain a copy of the feature's geometry, perform the modification on the geometries, then apply the modifications by setting the geometry to the Shape property.
getShapeCopy in interface IFeatureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShape()
throws IOException,
AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
getShape in interface IFeaturegetShape in interface IFeatureBufferIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShapeByRef(IGeometry shape)
throws IOException,
AutomationException
setShapeByRef in interface IFeaturesetShapeByRef in interface IFeatureBuffershape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IFeatureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureType()
throws IOException,
AutomationException
getFeatureType in interface IFeatureIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IObjectClass esri_getClass()
throws IOException,
AutomationException
esri_getClass in interface IObjectIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasOID()
throws IOException,
AutomationException
If the table has been registered with the geodatabase it will have unique Object ID, automatically created by the register tool, and the HasOID property will be set to True. Tables not registered with the geodatabase will not have an OID column and the HasOID property will be set to False. See the IClassSchemaEdit::RegisterAsObjectClass method for more information.
isHasOID in interface IRowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOID()
throws IOException,
AutomationException
Gets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
if (pRow.isHasOID()) {
System.out.print(pRow.getOID());
}
getOID in interface IRowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
Returns a pointer to the table the row belongs to.
ITable pTable; pTable = pRow.getTable();
getTable in interface IRowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void store()
throws IOException,
AutomationException
The Store method is called by an application once it has modified the values of a Row. Once Store is called on a Row object, all subsequent queries within the same edit session, using the Geodatabase API, will reflect the modified state of the Row object.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
Calling the Store method triggers the following actions:
- The IRowEvents::OnChanged is called for the row being stored. The OnNew is called if this is a newly created row being stored for the first time. A custom row object can implement the OnChanged method and take some special action when it is called - for example; update a special column in the row
- The IRelatedObjectEvents::RelatedObjectChanged method is called for related objects in a related object class if the table for this row is an object class that participates in relationship classes with notification
Store should not be used for batch operations, such as updates or inserts. For performing a number of inserts or updates using cursors, refer to the ITable::Insert, ITable::Update, ITable::UpdateSearchedRows , IFeatureClass::Update andIFeatureClass::Insert. If an insert or update cursor is used on non-simple features (such as network features), the cursor will revert to using Store.
It is not necessary to explicitly call Connect on network features, this is handled polymorphically when Store is called on the feature. This is also the case with features in a Topology, Dirty Area creation is handled internally when Store is called.
Store should not be called inside of edit events, such as OnCreateFeature, OnChangeFeature or OnDeleteFeature. Even if you are modifying the geometry or other field values, Store will be called once the event is complete.
store in interface IRowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws IOException,
AutomationException
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
delete in interface IRowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getValue(int index)
throws IOException,
AutomationException
getValue in interface IRowBufferindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setValue(int index,
Object value)
throws IOException,
AutomationException
setValue in interface IRowBufferindex - The index (in)value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFields getFields()
throws IOException,
AutomationException
getFields in interface IRowBufferIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValueChanged(int index)
throws IOException,
AutomationException
isValueChanged in interface IRowChangesindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getOriginalValue(int index)
throws IOException,
AutomationException
getOriginalValue in interface IRowChangesindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShapeChanged()
throws IOException,
AutomationException
IFeatureChanges::ShapeChanged can be used to determine if a feature's geometry has changed. If the feature's geometry has been changed, but IRow::Store has not yet been called, ShapeChanged will return True. Once Store is called, ShapeChanged will return False. ShapeChanged can also be used in an event triggered by Store, such as IRowEvents::OnChanged. When used in this manner, ShapeChanged will return True if the feature's shape has changed. Once Store is complete, ShapeChanged will return false.
isShapeChanged in interface IFeatureChangesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getOriginalShape()
throws IOException,
AutomationException
getOriginalShape in interface IFeatureChangesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
throws IOException,
AutomationException
draw in interface IFeatureDrawdrawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)symbolInstalled - The symbolInstalled (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)drawStyle - A com.esri.arcgis.geodatabase.esriDrawStyle constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInvalidAreaByRef(IInvalidArea invalidArea)
throws IOException,
AutomationException
setInvalidAreaByRef in interface IFeatureDrawinvalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IInvalidArea getInvalidArea()
throws IOException,
AutomationException
getInvalidArea in interface IFeatureDrawIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IRow otherRow)
throws IOException,
AutomationException
isEqual in interface IRowCompareotherRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
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 | ||||||||