public class Feature extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRow, IRowBuffer, IRowEvents, IRowSubtypes, IRowChanges, IRowCompare, IFeature, IFeatureBuffer, IFeatureEvents, IFeatureChanges, IValidate, IFeatureSimplify, IFeatureSimplify2, IRelatedObjectEvents, ISupportErrorInfo, IFeatureProject
Description 'Esri Feature.' 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, IID8c387320_12c6_11d2_aad1_00c04fa37b81, xxDummyIID, IIDd3f18540_bf77_11d2_aaf2_00c04fa37b82, xxDummyIID, IID022f7462_69fa_11d3_9fd0_00c04f6bdd84, xxDummyIID, IID7d3e2831_6c5a_11d3_8a98_000000000000, xxDummyIID, IIDd4803ee9_79f4_11d0_97fc_0080c7f79481, xxDummyIID1afcdb34_ac09_11d2_8a1e_006097aff44eIIDfcb01cb4_9f0b_11d0_bec7_00805f7c4268IID, IID956a4e53_2482_11d1_89d8_006097aff44e, xxDummyIID, IID46097234_1224_11d2_aacf_00c04fa37b81, xxDummyIID, IID022f7463_69fa_11d3_9fd0_00c04f6bdd84, xxDummyIID, IID80e4ff2c_475d_11d2_9932_0000f80372b4, xxDummyIID, IID0a9035f6_9e34_473d_bdfb_35663ea162b7, xxDummyIID10e6443f_fecb_11d3_9fa5_00c04f6bdf0cIID, IID22b0069a_8895_11d2_8a0d_006097aff44e, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IID0ad74a92_b396_4819_ac73_bb6ccc5ca326, xxDummy| Constructor and Description |
|---|
Feature()
Constructs a Feature using ArcGIS Engine.
|
Feature(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Feature theFeature = (Feature) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the row.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IObjectClass |
esri_getClass()
The Object Class for the row.
|
static java.lang.String |
getClsid()
getClsid.
|
IEnvelope |
getExtent()
The extent of the feature.
|
int |
getFeatureType()
The type of the feature.
|
IFields |
getFields()
The fields Collection for this row buffer.
|
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.
|
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.
|
long |
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.
|
IGeometry |
getShape()
A reference to the default shape for the feature.
|
IGeometry |
getShapeCopy()
A cloned copy of the default shape for the feature.
|
int |
getSubtypeCode()
The subtype for the row.
|
ITable |
getTable()
The Table 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()
Initialize the shape.
|
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 |
isSimpleGeometry(IGeometry geometry,
int[] reason)
Returns true if the input geometry is simple according to the rules appropriate for this feature.
|
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 |
onChanged()
An after event that is fired when a custom object is changed.
|
void |
onDelete()
An after event that is fired when a custom object is deleted.
|
void |
onInitialize()
An after event that is fired when a custom object is initialized.
|
void |
onMerge()
An after event that is fired when Features have been merged, on each deleted input Feature.
|
void |
onNew()
An after event that is fired when a custom object is Stored for the first time.
|
void |
onSplit()
An after event that is fired when a Feature is split, on the deleted input Feature.
|
void |
onValidate()
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 |
release()
Release this COM object reference
|
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 geometry)
Simplifies the input geometry using the rules appropriate for this feature.
|
void |
store()
Stores the row.
|
boolean |
validate(java.lang.String[] errorMessage)
Validates the row.
|
public Feature()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic Feature(java.lang.Object obj)
throws java.io.IOException
Feature theFeature = (Feature) obj;obj to Feature.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
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 boolean isHasOID()
throws java.io.IOException,
AutomationException
isHasOID in interface IRowjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long getOID()
throws java.io.IOException,
AutomationException
getOID in interface IRowjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITable getTable() throws java.io.IOException, AutomationException
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
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
delete in interface IRowjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getValue(int index)
throws java.io.IOException,
AutomationException
getValue in interface IRowBufferindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setValue(int index,
java.lang.Object value)
throws java.io.IOException,
AutomationException
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
getFields in interface IRowBufferjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onChanged()
throws java.io.IOException,
AutomationException
onChanged in interface IRowEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onDelete()
throws java.io.IOException,
AutomationException
onDelete in interface IRowEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onInitialize()
throws java.io.IOException,
AutomationException
onInitialize in interface IRowEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onNew()
throws java.io.IOException,
AutomationException
onNew in interface IRowEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onValidate()
throws java.io.IOException,
AutomationException
onValidate in interface IRowEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSubtypeCode()
throws java.io.IOException,
AutomationException
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
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
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
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
getOriginalValue in interface IRowChangesindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEqual(IRow otherRow) throws java.io.IOException, AutomationException
isEqual in interface IRowCompareotherRow - 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
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
getShape in interface IFeaturegetShape in interface IFeatureBufferjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setShapeByRef(IGeometry shape) throws java.io.IOException, AutomationException
setShapeByRef in interface IFeaturesetShapeByRef in interface IFeatureBuffershape - 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
getExtent in interface IFeaturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFeatureType()
throws java.io.IOException,
AutomationException
getFeatureType in interface IFeaturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IObjectClass esri_getClass() throws java.io.IOException, AutomationException
esri_getClass in interface IObjectjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void initShape()
throws java.io.IOException,
AutomationException
initShape in interface IFeatureEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onSplit()
throws java.io.IOException,
AutomationException
onSplit in interface IFeatureEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void onMerge()
throws java.io.IOException,
AutomationException
onMerge in interface IFeatureEventsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isShapeChanged()
throws java.io.IOException,
AutomationException
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
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
getInvalidFields in interface IValidatejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getInvalidRules() throws java.io.IOException, AutomationException
getInvalidRules in interface IValidatejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getInvalidRulesByField(java.lang.String fieldName) throws java.io.IOException, AutomationException
getInvalidRulesByField in interface IValidatefieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean validate(java.lang.String[] errorMessage)
throws java.io.IOException,
AutomationException
validate in interface IValidateerrorMessage - The errorMessage (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void simplifyGeometry(IGeometry geometry) throws java.io.IOException, AutomationException
simplifyGeometry in interface IFeatureSimplifygeometry - 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 boolean isSimpleGeometry(IGeometry geometry, int[] reason) throws java.io.IOException, AutomationException
isSimpleGeometry in interface IFeatureSimplify2geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)reason - A com.esri.arcgis.geometry.esriNonSimpleReasonEnum constant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void relatedObjectChanged(IRelationshipClass relationshipClass, IObject objectThatChanged) throws java.io.IOException, AutomationException
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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void relatedObjectMoved(IRelationshipClass relationshipClass, IObject objectThatChanged, ILine moveVector) throws java.io.IOException, AutomationException
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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void relatedObjectSetMoved(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector) throws java.io.IOException, AutomationException
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
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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void relatedObjectSetRotated(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint origin, double angle) throws java.io.IOException, AutomationException
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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void project(ISpatialReference outputSR) throws java.io.IOException, AutomationException
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.