com.esri.arcgis.carto
Class FieldInfoSet

java.lang.Object
  extended by com.esri.arcgis.carto.FieldInfoSet
All Implemented Interfaces:
IFieldInfoSet, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FieldInfoSet
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFieldInfoSet

COM Class 'FieldInfoSet'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Maintains an ordered set of field info objets.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IFieldInfoSet
IID, IIDd8d8c2c1_c003_452c_a66c_aa9b333d3489, xxDummy
 
Constructor Summary
FieldInfoSet()
          Constructs a FieldInfoSet using ArcGIS Engine.
FieldInfoSet(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FieldInfoSet theFieldInfoSet = (FieldInfoSet) obj;
 
Method Summary
 void add(java.lang.String fieldName, IFieldInfo fieldInfo)
          Adds the given fieldinfo to the end of the set.
 void clear()
          Empties the set of fields.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IFieldInfo find(java.lang.String fieldName)
          Returns the fieldinfo for the field with the specified name.
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of fields.
 IFieldInfo getFieldInfo(int index)
          Extended field information for the field at the specified index.
 java.lang.String getFieldName(int index)
          The field name at the specified index.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a FieldInfoSet.
 void remove(java.lang.String fieldName)
          Removes the field with the specified name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInfoSet

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

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

FieldInfoSet

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

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

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()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FieldInfoSet.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of fields.

Specified by:
getCount in interface IFieldInfoSet
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldInfo

public IFieldInfo getFieldInfo(int index)
                        throws java.io.IOException,
                               AutomationException
Extended field information for the field at the specified index.

Specified by:
getFieldInfo in interface IFieldInfoSet
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFieldInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldName

public java.lang.String getFieldName(int index)
                              throws java.io.IOException,
                                     AutomationException
The field name at the specified index.

Specified by:
getFieldName in interface IFieldInfoSet
Parameters:
index - The index (in)
Returns:
The fieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(java.lang.String fieldName,
                IFieldInfo fieldInfo)
         throws java.io.IOException,
                AutomationException
Adds the given fieldinfo to the end of the set.

Specified by:
add in interface IFieldInfoSet
Parameters:
fieldName - The fieldName (in)
fieldInfo - A reference to a com.esri.arcgis.geodatabase.IFieldInfo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Empties the set of fields.

Specified by:
clear in interface IFieldInfoSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public IFieldInfo find(java.lang.String fieldName)
                throws java.io.IOException,
                       AutomationException
Returns the fieldinfo for the field with the specified name.

Specified by:
find in interface IFieldInfoSet
Parameters:
fieldName - The fieldName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFieldInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(java.lang.String fieldName)
            throws java.io.IOException,
                   AutomationException
Removes the field with the specified name.

Specified by:
remove in interface IFieldInfoSet
Parameters:
fieldName - The fieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.