com.esri.arcgis.geodatabase
Class FeatureClassDescription

java.lang.Object
  extended bycom.esri.arcgis.geodatabase.FeatureClassDescription
All Implemented Interfaces:
IFeatureClassDescription, IObjectClassDescription, java.io.Serializable

public class FeatureClassDescription
extends java.lang.Object
implements IObjectClassDescription, IFeatureClassDescription

ESRI Feature Class Description Object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

The FeatureClassDescription object provides information about

See Also:
Serialized Form

Constructor Summary
FeatureClassDescription()
          Constructs a FeatureClassDescription using ArcGIS Engine.
FeatureClassDescription(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getAliasName()
          The alias name of this class.
 IFeatureClassDescription getAsIFeatureClassDescription()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IObjectClassDescription getAsIObjectClassDescription()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IUID getClassExtensionCLSID()
          The CLSID of the class extension COM class that implements class level behavior.
static java.lang.String getClsid()
           
 int getFeatureType()
          The esriFeatureType for the instances of this class.
 IUID getInstanceCLSID()
          The CLSID of the COM class that implements instance level behavior.
 java.lang.String getModelName()
          The model name of this class.
 java.lang.String getName()
          The name for this class, e.g., ESRI Simple Junction Feature.
 IFields getRequiredFields()
          The descriptions of the set of required fields for this class.
 java.lang.String getShapeFieldName()
          The name of the field containing the shape.
 int hashCode()
          the hashcode for this object
 boolean isModelNameUnique()
          Indicates if the model name of this class is unique.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureClassDescription

public FeatureClassDescription()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a FeatureClassDescription using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FeatureClassDescription

public FeatureClassDescription(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a FeatureClassDescription using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FeatureClassDescription.
FeatureClassDescription theFeatureClassDescription = (FeatureClassDescription) obj;

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

getClsid

public static java.lang.String getClsid()

getAsIObjectClassDescription

public IObjectClassDescription getAsIObjectClassDescription()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIFeatureClassDescription

public IFeatureClassDescription getAsIFeatureClassDescription()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IObjectClassDescription
The name for this class, e.g., ESRI Simple Junction Feature.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface IObjectClassDescription
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IFeatureClassDescription

getAliasName

public java.lang.String getAliasName()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IObjectClassDescription
The alias name of this class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAliasName in interface IObjectClassDescription
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IFeatureClassDescription, IClassSchemaEdit

getModelName

public java.lang.String getModelName()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IObjectClassDescription
The model name of this class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getModelName in interface IObjectClassDescription
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IClassSchemaEdit

isModelNameUnique

public boolean isModelNameUnique()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IObjectClassDescription
Indicates if the model name of this class is unique.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isModelNameUnique in interface IObjectClassDescription
Returns:
The isUnique
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IClassSchemaEdit

getInstanceCLSID

public IUID getInstanceCLSID()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IObjectClassDescription
The CLSID of the COM class that implements instance level behavior.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getInstanceCLSID in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IClassSchemaEdit

getClassExtensionCLSID

public IUID getClassExtensionCLSID()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IObjectClassDescription
The CLSID of the class extension COM class that implements class level behavior.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassExtensionCLSID in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IClassExtension, IClassSchemaEdit

getRequiredFields

public IFields getRequiredFields()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IObjectClassDescription
The descriptions of the set of required fields for this class.

Supported Platforms

Windows, Solaris, Linux

Remarks

When implementing the RequiredFields property, it is necessary include an ObjectID field, a geometry field (if a FeatureClass), subtype field, ancillary role or enabled field (if a NetworkFeature type) in addition any other attributes.

Specified by:
getRequiredFields in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
See Also:
IFeatureClassDescription, IFields, IClassSchemaEdit

getFeatureType

public int getFeatureType()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IFeatureClassDescription
The esriFeatureType for the instances of this class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFeatureType in interface IFeatureClassDescription
Returns:
A com.esri.arcgis.geodatabase.esriFeatureType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShapeFieldName

public java.lang.String getShapeFieldName()
                                   throws java.io.IOException,
                                          AutomationException
Description copied from interface: IFeatureClassDescription
The name of the field containing the shape.

Supported Platforms

Windows, Solaris, Linux

Remarks

The ShapeFieldName should be the name of the field defined with esriFieldTypeGeometry in the RequiredFields property of IObjectClassDescription.

Specified by:
getShapeFieldName in interface IFeatureClassDescription
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IObjectClassDescription