|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.TopologyErrorFeature
ESRI Topology Error Feature.
| Constructor Summary | |
TopologyErrorFeature(java.lang.Object obj)
Construct a TopologyErrorFeature using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
IDisplayFeedback |
beginMoveSet(ISet features,
IPoint start)
Prepares the set of features for a move operation. |
void |
delete()
Deletes the row. |
void |
deleteSet(ISet rows)
Deletes the set of rows. |
void |
draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
Draws the feature on the display. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
The Object Class for the row. |
IFeature |
getAsIFeature()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureBuffer |
getAsIFeatureBuffer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureChanges |
getAsIFeatureChanges()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureDraw |
getAsIFeatureDraw()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureEdit |
getAsIFeatureEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureEvents |
getAsIFeatureEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureProject |
getAsIFeatureProject()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureSimplify |
getAsIFeatureSimplify()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRelatedObjectEvents |
getAsIRelatedObjectEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRow |
getAsIRow()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowBuffer |
getAsIRowBuffer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowChanges |
getAsIRowChanges()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowCompare |
getAsIRowCompare()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowEdit |
getAsIRowEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowEvents |
getAsIRowEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowSubtypes |
getAsIRowSubtypes()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITopologyErrorFeature |
getAsITopologyErrorFeature()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITopologyFeature |
getAsITopologyFeature()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IValidate |
getAsIValidate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
int |
getDestinationClassID()
ObjectClassID of the destination feature that created the topology error. |
int |
getDestinationOID()
ObjectID of the destination feature that created the topology error. |
int |
getErrorID()
ID of the error. |
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. |
IFields |
getInvalidFields()
Returns all invalid fields. |
IEnumRule |
getInvalidRules()
The set of all invalid rules. |
IEnumRule |
getInvalidRulesByField(java.lang.String fieldName)
The set of all invalid rules for the specified field. |
int |
getOID()
The OID for the row. |
IGeometry |
getOriginalShape()
The original shape for the feature. |
java.lang.Object |
getOriginalValue(int index)
The value of the field at the specified index immediately after the last call to Store on the Row object. |
int |
getOriginClassID()
ObjectClassID of the origin feature that created the topology error. |
int |
getOriginOID()
ObjectID of the origin feature that created the topology error. |
IGeometry |
getShape()
A reference to the default shape for the feature. |
IGeometry |
getShapeCopy()
A cloned copy of the default shape for the feature. |
int |
getShapeType()
The geometry type of the topology error. |
int |
getSubtypeCode()
The subtype for the row. |
ITable |
getTable()
The Table for the row. |
IRule |
getTopologyRule()
The topology rule that caused the topology error. |
int |
getTopologyRuleType()
The Object Class for the row. |
java.lang.Object |
getValue(int index)
The value of the field with the specified index. |
int |
hashCode()
the hashcode for this object |
void |
initDefaultValues()
The default values of the row. |
void |
initShape(IFeatureEventsInitShapeEvent theEvent)
Initialize the shape. |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
boolean |
isDeleted()
Indicates if this topology error feature has been deleted. |
boolean |
isEqual(IRow pOtherRow)
Indicates if the rows (which may be from two different versions) are the same (oid + values). |
boolean |
isException()
Indicates if topology error is an exception. |
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 |
moveSet(ISet features,
ILine moveVector)
Moves the set of features through a distance and direction specified by moveVector. |
void |
onChanged(IRowEventsOnChangedEvent theEvent)
An after event that is fired when a custom object is changed. |
void |
onDelete(IRowEventsOnDeleteEvent theEvent)
An after event that is fired when a custom object is deleted. |
void |
onInitialize(IRowEventsOnInitializeEvent theEvent)
An after event that is fired when a custom object is initialized. |
void |
onMerge(IFeatureEventsOnMergeEvent theEvent)
An after event that is fired when Features have been merged, on each deleted input Feature. |
void |
onNew(IRowEventsOnNewEvent theEvent)
An after event that is fired when a custom object is Stored for the first time. |
void |
onSplit(IFeatureEventsOnSplitEvent theEvent)
An after event that is fired when a Feature is split, on the deleted input Feature. |
void |
onValidate(IRowEventsOnValidateEvent theEvent)
An after event that is fired when a custom object is validated. |
void |
project(ISpatialReference outputSR)
Project the feature geometry to the provided spatial reference. |
void |
relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
Notifies this object that a related object changed. |
void |
relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
Notifies this object that a related object moved. |
void |
relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
Notifies this object that a related object rotated. |
void |
relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
Notifies this object that a set of objects with relationships to the input set of objects moved. |
void |
relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
Notifies this object that a set of objects with relationships to the input set of objects rotated. |
void |
rotateSet(ISet features,
IPoint origin,
double angle)
Rotates the set of features according to the specified origin and angle. |
void |
setInvalidAreaByRef(IInvalidArea invalidArea)
The area to be drawn. |
void |
setShapeByRef(IGeometry shape)
A reference to the default shape for the feature. |
void |
setSubtypeCode(int subtypeCode)
The subtype for the row. |
void |
setValue(int index,
java.lang.Object value)
The value of the field with the specified index. |
void |
simplifyGeometry(IGeometry pGeometry)
Simplifies the input geometry using the rules appropriate for this feature. |
ISet |
split(IGeometry point)
Split the feature. |
void |
splitAttributes(IFeature baseFeature)
Split the feature attributes. |
void |
store()
Stores the row. |
boolean |
validate(java.lang.String[] errorMessage)
Validates the row. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TopologyErrorFeature(java.lang.Object obj)
throws java.io.IOException
obj to TopologyErrorFeature. *
TopologyErrorFeature o = (TopologyErrorFeature)obj; // will not work
TopologyErrorFeature o = new TopologyErrorFeature(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
TopologyErrorFeature theTopologyErrorFeature = (TopologyErrorFeature) obj;
java.io.IOException - if there are interop problems| Method Detail |
public IRow getAsIRow()
public IRowBuffer getAsIRowBuffer()
public IRowEvents getAsIRowEvents()
public IRowSubtypes getAsIRowSubtypes()
public IRowChanges getAsIRowChanges()
public IRowCompare getAsIRowCompare()
public IFeature getAsIFeature()
public IFeatureBuffer getAsIFeatureBuffer()
public IFeatureEvents getAsIFeatureEvents()
public IFeatureChanges getAsIFeatureChanges()
public IValidate getAsIValidate()
public IFeatureDraw getAsIFeatureDraw()
public IRowEdit getAsIRowEdit()
public IFeatureEdit getAsIFeatureEdit()
public IFeatureSimplify getAsIFeatureSimplify()
public IRelatedObjectEvents getAsIRelatedObjectEvents()
public ISupportErrorInfo getAsISupportErrorInfo()
public ITopologyFeature getAsITopologyFeature()
public ITopologyErrorFeature getAsITopologyErrorFeature()
public IFeatureProject getAsIFeatureProject()
public boolean equals(java.lang.Object o)
public int hashCode()
public boolean isHasOID()
throws java.io.IOException,
AutomationException
IRowIf 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 IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOID()
throws java.io.IOException,
AutomationException
IRowGets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
getOID in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITable getTable()
throws java.io.IOException,
AutomationException
IRowReturns a pointer to the table the row belongs to.
getTable in interface IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void store()
throws java.io.IOException,
AutomationException
IRowThe 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 IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
IRowAll 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 IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getValue(int index)
throws java.io.IOException,
AutomationException
IRowBufferThe Index parameter is a zero based index.
getValue in interface IRowBufferindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setValue(int index,
java.lang.Object value)
throws java.io.IOException,
AutomationException
IRowBuffer
setValue in interface IRowBufferindex - The index (in)value - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFields getFields()
throws java.io.IOException,
AutomationException
IRowBuffer
getFields in interface IRowBufferjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onChanged(IRowEventsOnChangedEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
onChanged in interface IRowEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onDelete(IRowEventsOnDeleteEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
onDelete in interface IRowEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onInitialize(IRowEventsOnInitializeEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.
onInitialize in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onNew(IRowEventsOnNewEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
onNew in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onValidate(IRowEventsOnValidateEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEvents
onValidate in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSubtypeCode()
throws java.io.IOException,
AutomationException
IRowSubtypesWhen creating new objects within ArcMap, the default subtype and any default values are automatically set. When objects are created programmatically, the default subtype and default values are not automatically set. The subtype code of the feature can be specified with the SubtypeCode property.
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.
getSubtypeCode in interface IRowSubtypesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSubtypeCode(int subtypeCode)
throws java.io.IOException,
AutomationException
IRowSubtypes
setSubtypeCode in interface IRowSubtypessubtypeCode - The subtypeCode (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initDefaultValues()
throws java.io.IOException,
AutomationException
IRowSubtypesWhen creating new objects within ArcMap, the default subtype and any default values are automatically set. When objects are created programmatically, the default subtype and default values are not automatically set. InitDefaultValues will populate fields with the specified default values.
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
initDefaultValues in interface IRowSubtypesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValueChanged(int index)
throws java.io.IOException,
AutomationException
IRowChanges
isValueChanged in interface IRowChangesindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getOriginalValue(int index)
throws java.io.IOException,
AutomationException
IRowChanges
getOriginalValue in interface IRowChangesindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IRow pOtherRow)
throws java.io.IOException,
AutomationException
IRowCompare
isEqual in interface IRowComparepOtherRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShapeCopy()
throws java.io.IOException,
AutomationException
IFeature
getShapeCopy in interface IFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShape()
throws java.io.IOException,
AutomationException
IFeatureThe basic process to change the shape of a feature is:
1) Get the feature's existing geometry through IFeature.Shape or create a new geometry
2) Modify the geometry
3) Set the feature's geometry using IFeature.Shape
4) Store the feature
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 IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShapeByRef(IGeometry shape)
throws java.io.IOException,
AutomationException
IFeature
setShapeByRef in interface IFeatureshape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
IFeature
getExtent in interface IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getFeatureType()
throws java.io.IOException,
AutomationException
IFeature
getFeatureType in interface IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IObjectClass esri_getClass()
throws java.io.IOException,
AutomationException
IObject
esri_getClass in interface IObjectAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void initShape(IFeatureEventsInitShapeEvent theEvent)
throws java.io.IOException,
AutomationException
IFeatureEvents
initShape in interface IFeatureEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onSplit(IFeatureEventsOnSplitEvent theEvent)
throws java.io.IOException,
AutomationException
IFeatureEvents
onSplit in interface IFeatureEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onMerge(IFeatureEventsOnMergeEvent theEvent)
throws java.io.IOException,
AutomationException
IFeatureEvents
onMerge in interface IFeatureEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShapeChanged()
throws java.io.IOException,
AutomationException
IFeatureChangesIFeatureChanges::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 IFeatureChangesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getOriginalShape()
throws java.io.IOException,
AutomationException
IFeatureChanges
getOriginalShape in interface IFeatureChangesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFields getInvalidFields()
throws java.io.IOException,
AutomationException
IValidate
getInvalidFields in interface IValidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRule getInvalidRules()
throws java.io.IOException,
AutomationException
IValidate
getInvalidRules in interface IValidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRule getInvalidRulesByField(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
IValidate
getInvalidRulesByField in interface IValidatefieldName - The fieldName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean validate(java.lang.String[] errorMessage)
throws java.io.IOException,
AutomationException
IValidateValidate on a row occurs in five steps:
The validate process stops once a row is found invalid. For example, if a network feature violates an attribute rule, the validation process stops and the feature's network connectivity rules are not evaluated until the attribute rule violation is corrected.
validate in interface IValidateerrorMessage - The errorMessage (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void draw(int drawPhase,
IDisplay display,
ISymbol symbol,
boolean symbolInstalled,
IGeometry geometry,
int drawStyle)
throws java.io.IOException,
AutomationException
IFeatureDraw
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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInvalidAreaByRef(IInvalidArea invalidArea)
throws java.io.IOException,
AutomationException
IFeatureDraw
setInvalidAreaByRef in interface IFeatureDrawinvalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IInvalidArea getInvalidArea()
throws java.io.IOException,
AutomationException
IFeatureDraw
getInvalidArea in interface IFeatureDrawjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteSet(ISet rows)
throws java.io.IOException,
AutomationException
IRowEditAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
deleteSet in interface IRowEditrows - A reference to a com.esri.arcgis.system.ISet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IDisplayFeedback beginMoveSet(ISet features,
IPoint start)
throws java.io.IOException,
AutomationException
IFeatureEdit
beginMoveSet in interface IFeatureEditfeatures - A reference to a com.esri.arcgis.system.ISet (in)start - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveSet(ISet features,
ILine moveVector)
throws java.io.IOException,
AutomationException
IFeatureEditAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
moveSet in interface IFeatureEditfeatures - A reference to a com.esri.arcgis.system.ISet (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rotateSet(ISet features,
IPoint origin,
double angle)
throws java.io.IOException,
AutomationException
IFeatureEditAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
rotateSet in interface IFeatureEditfeatures - A reference to a com.esri.arcgis.system.ISet (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISet split(IGeometry point)
throws java.io.IOException,
AutomationException
IFeatureEditSplit divides polylines by points or polygons by polylines, other kinds of split geometries are not supported (see IGeometry::GeometryType property for an enumeration of geometry types). The new features are automatically stored and the old features deleted. When a feature is split, the feature is deleted and two new features are created. The ObjectID of the deleted feature is not reused, the two new features will have new ObjectID values. You can define a policy on how the other attribute values of the new features are populated; this can be done with ArcCatalog or by using the Domain and Attribute Rule objects.
It is not necessary to call SplitAttributes after calling Split, this is done automatically.
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.
split in interface IFeatureEditpoint - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void splitAttributes(IFeature baseFeature)
throws java.io.IOException,
AutomationException
IFeatureEditAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
splitAttributes in interface IFeatureEditbaseFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void simplifyGeometry(IGeometry pGeometry)
throws java.io.IOException,
AutomationException
IFeatureSimplifyAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
simplifyGeometry in interface IFeatureSimplifypGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectChanged method is called when a related object has changed.
relatedObjectChanged in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectMoved method is called when a related object has moved.
relatedObjectMoved in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectSetMoved method is called when a set of objects in the related object class has moved. The objectsThatChanged argument represents the set of objects in the related object classes that have moved.
The objectsThatNeedToChange argument represents the set of objects in the object class of this object that are related to the objects that moved. This object is itself a member of the objectsThatNeedToChange.
relatedObjectSetMoved in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectRotated method is called when a related object has rotated.
relatedObjectRotated in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectSetRotated method is called when a set of objects in the related object class has moved. Its arguments are similar to the arguments for RelatedObjectSetMoved.
relatedObjectSetRotated in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getErrorID()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe ErrorID of a topology error feature is not unique across all topology error features within the topology, but is unique for each topology error feature geometry type. For example, while a topology error feature with polygon geometry may have the same ErrorID as a topology error feature with point geometry, the ErrorID will be unique for all topology error features with polygon geometry.
Combining the ErrorID and ShapeType of a topology error feature will result in a unique value within the topology.
getErrorID in interface ITopologyErrorFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDeleted()
throws java.io.IOException,
AutomationException
ITopologyErrorFeature
isDeleted in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOriginOID()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe OriginOID and DestinationOID properties represent the object IDs of the origin and destination features that created the topology error.
In general, all topology errors for which only the origin class has been specified will return values for the OriginClassID and OriginOID properties and a value of zero for the DestinationClassID and DestinationOID properties. The exception is for topology errors generated from the esriTRTNoGaps rule, which will return a value of zero for the OriginOID as well as DestinationClassID and DestinationOID properties. In addition, topology rules whose origin and destination feature class have been specified will generally return zero for the Destination feature class properties. The exceptions to this rule are:
The exception to both of these statements is the esriTRTAreaAreaCoverEachOther rule, which may generate topology errors referencing either the Origin or Destination feature class.
getOriginOID in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOriginClassID()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe OriginClassID and DestinationClassID properties represent the object class IDs of the origin and destination feature classes of the topology rule.
In general, all topology errors for which only the origin class has been specified will return values for the OriginClassID and OriginOID properties and a value of zero for the DestinationClassID and DestinationOID properties. The exception is for topology errors generated from the esriTRTNoGaps rule, which will return a value of zero for the OriginOID as well as DestinationClassID and DestinationOID properties. In addition, topology rules whose origin and destination feature class have been specified will generally return zero for the Destination feature class properties. The exceptions to this rule are:
The exception to both of these statements is the esriTRTAreaAreaCoverEachOther rule, which may generate topology errors referencing either the Origin or Destination feature class.
getOriginClassID in interface ITopologyErrorFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDestinationOID()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe OriginOID and DestinationOID properties represent the object IDs of the origin and destination features that created the topology error.
In general, all topology errors for which only the origin class has been specified will return values for the OriginClassID and OriginOID properties and a value of zero for the DestinationClassID and DestinationOID properties. The exception is for topology errors generated from the esriTRTNoGaps rule, which will return a value of zero for the OriginOID as well as DestinationClassID and DestinationOID properties. In addition, topology rules whose origin and destination feature class have been specified will generally return zero for the Destination feature class properties. The exceptions to this rule are:
The exception to both of these statements is the esriTRTAreaAreaCoverEachOther rule, which may generate topology errors referencing either the Origin or Destination feature class.
getDestinationOID in interface ITopologyErrorFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDestinationClassID()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe OriginClassID and DestinationClassID properties represent the object class IDs of the origin and destination feature classes of the topology rule.
In general, all topology errors for which only the origin class has been specified will return values for the OriginClassID and OriginOID properties and a value of zero for the DestinationClassID and DestinationOID properties. The exception is for topology errors generated from the esriTRTNoGaps rule, which will return a value of zero for the OriginOID as well as DestinationClassID and DestinationOID properties. In addition, topology rules whose origin and destination feature class have been specified will generally return zero for the Destination feature class properties. The exceptions to this rule are:
The exception to both of these statements is the esriTRTAreaAreaCoverEachOther rule, which may generate topology errors referencing either the Origin or Destination feature class.
getDestinationClassID in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isException()
throws java.io.IOException,
AutomationException
ITopologyErrorFeature
isException in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IRule getTopologyRule()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe TopologyRule property returns an IRule object corresponding to the topology rule. This can be used to get the unique ID of the topology rule using IRule::ID or obtain a ITopologyRule object. TopologyRule provides access the properties of the topology rule that the Error feature has violated. Note that each Topology has one inherent rule, esriTRTFeatureLargerThanClusterTolerance. It can be identified by checking the ITopologyErrorFeature::TopologyRuleType property
getTopologyRule in interface ITopologyErrorFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTopologyRuleType()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe TopologyRuleType property returns the type of topology rule associated with the topology error feature from the esriTopologyRuleType constants. Each topology has one inherent rule, esriTRTFeatureLargerThanClusterTolerance, which identified features that are less than the defined cluster tolerance for the topology.
getTopologyRuleType in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getShapeType()
throws java.io.IOException,
AutomationException
ITopologyErrorFeatureThe ShapeType property will return the esriGeometryType of the topology error feature. Topology error features will be one of three possible geometry types: esriGeometryPolygon , esriGeometryPolyline or esriGeometryPolyline. Several topology rules can produce topology error features of different shape types, use the ITopologyRule::ErrorShapeTypes method to determine the valid shape types for each rule.
getShapeType in interface ITopologyErrorFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void project(ISpatialReference outputSR)
throws java.io.IOException,
AutomationException
IFeatureProjectProjects the feature from the current spatial reference to the output spatial reference.
project in interface IFeatureProjectoutputSR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.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 | |||||||||