com.esri.arcgis.geodatabase
Class FeatureElement

java.lang.Object
  extended by com.esri.arcgis.geodatabase.FeatureElement
All Implemented Interfaces:
IFeatureElement, IFeatureElementEdit, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class FeatureElement
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFeatureElement, IFeatureElementEdit

ESRI Feature Element object.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
FeatureElement()
          Constructs a FeatureElement using ArcGIS Engine.
FeatureElement(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureElement theFeatureElement = (FeatureElement) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getElementType()
          The Type of Feature Element.
 IGeometry getGeometry()
          The Geometry of the Feature Element.
 IFeature getOwner()
          The Feature that owns the Feature Element.
 IFeatureElement getParent()
          The Parent of the Feature Element.
 int hashCode()
          the hashcode for this object
 void setElementType(int rhs1)
          The Type of Feature Element.
 void setGeometryByRef(IGeometry rhs1)
          The Geometry of the Feature Element.
 void setOwnerByRef(IFeature rhs1)
          The Feature that owns the Feature Element.
 void setParentByRef(IFeatureElement rhs1)
          The Parent of the Feature Element.
 
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

FeatureElement

public FeatureElement()
               throws IOException,
                      UnknownHostException
Constructs a FeatureElement using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

FeatureElement

public FeatureElement(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureElement theFeatureElement = (FeatureElement) obj;

Construct a FeatureElement using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureElement.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getOwner

public IFeature getOwner()
                  throws IOException,
                         AutomationException
The Feature that owns the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getElementType

public int getElementType()
                   throws IOException,
                          AutomationException
The Type of Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getElementType in interface IFeatureElement
Returns:
A com.esri.arcgis.geodatabase.esriFeatureElementType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The Geometry of the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGeometry in interface IFeatureElement
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParent

public IFeatureElement getParent()
                          throws IOException,
                                 AutomationException
The Parent of the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setOwnerByRef

public void setOwnerByRef(IFeature rhs1)
                   throws IOException,
                          AutomationException
The Feature that owns the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setElementType

public void setElementType(int rhs1)
                    throws IOException,
                           AutomationException
The Type of Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setElementType in interface IFeatureElementEdit
Parameters:
rhs1 - A com.esri.arcgis.geodatabase.esriFeatureElementType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryByRef

public void setGeometryByRef(IGeometry rhs1)
                      throws IOException,
                             AutomationException
The Geometry of the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setGeometryByRef in interface IFeatureElementEdit
Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentByRef

public void setParentByRef(IFeatureElement rhs1)
                    throws IOException,
                           AutomationException
The Parent of the Feature Element.

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions. Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setParentByRef in interface IFeatureElementEdit
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IFeatureElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.