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, xxDummy
IID, IIDd3f18540_bf77_11d2_aaf2_00c04fa37b82, xxDummy
IID, IID022f7462_69fa_11d3_9fd0_00c04f6bdd84, xxDummy
IID, IID7d3e2831_6c5a_11d3_8a98_000000000000, xxDummy
IID, IIDd4803ee9_79f4_11d0_97fc_0080c7f79481, xxDummy
IID1afcdb34_ac09_11d2_8a1e_006097aff44e
IIDfcb01cb4_9f0b_11d0_bec7_00805f7c4268
IID, IID956a4e53_2482_11d1_89d8_006097aff44e, xxDummy
IID, IID46097234_1224_11d2_aacf_00c04fa37b81, xxDummy
IID, IID022f7463_69fa_11d3_9fd0_00c04f6bdd84, xxDummy
IID, IID80e4ff2c_475d_11d2_9932_0000f80372b4, xxDummy
IID, IID0a9035f6_9e34_473d_bdfb_35663ea162b7, xxDummy
IID10e6443f_fecb_11d3_9fa5_00c04f6bdf0c
IID, IID22b0069a_8895_11d2_8a0d_006097aff44e, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isHasOID() throws java.io.IOException, AutomationException
isHasOID
in interface IRow
java.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 IRow
java.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 IRow
java.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 IRow
java.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 IRow
java.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 IRowBuffer
index
- 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 IRowBuffer
index
- 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 IRowBuffer
java.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 IRowEvents
java.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 IRowEvents
java.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 IRowEvents
java.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 IRowEvents
java.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 IRowEvents
java.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 IRowSubtypes
java.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 IRowSubtypes
subtypeCode
- 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 IRowSubtypes
java.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 IRowChanges
index
- 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 IRowChanges
index
- 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 IRowCompare
otherRow
- 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 IFeature
java.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 IFeature
getShape
in interface IFeatureBuffer
java.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 IFeature
setShapeByRef
in interface IFeatureBuffer
shape
- 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 IFeature
java.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 IFeature
java.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 IObject
java.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 IFeatureEvents
java.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 IFeatureEvents
java.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 IFeatureEvents
java.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 IFeatureChanges
java.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 IFeatureChanges
java.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 IValidate
java.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 IValidate
java.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 IValidate
fieldName
- 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 IValidate
errorMessage
- 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 IFeatureSimplify
geometry
- 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 IFeatureSimplify2
geometry
- 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 IRelatedObjectEvents
relationshipClass
- 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 IRelatedObjectEvents
relationshipClass
- 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 IRelatedObjectEvents
relationshipClass
- 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 IRelatedObjectEvents
relationshipClass
- 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 IRelatedObjectEvents
relationshipClass
- 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 ISupportErrorInfo
riid
- 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 IFeatureProject
outputSR
- 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.