com.esri.arcgis.datasourcesfile
Class ArcInfoItem

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.ArcInfoItem
All Implemented Interfaces:
IArcInfoItem, IArcInfoItemEdit, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class ArcInfoItem
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcInfoItem, IArcInfoItemEdit, ISupportErrorInfo

ArcInfo Item Object used to create items.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
ArcInfoItem()
          Constructs a ArcInfoItem using ArcGIS Engine.
ArcInfoItem(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcInfoItem theArcInfoItem = (ArcInfoItem) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getAlternateName()
          Alternate Name of the Item.
static String getClsid()
          getClsid.
 String getName()
          Name of the Item.
 int getNumberDecimals()
          Number of Decimals for Item values.
 int getOutputWidth()
          Output Width, in Bytes, for values stored in the Item.
 int getStartPosition()
          Start Position of the Item.
 int getType()
          Type of the Item, as an enumeration.
 int getWidth()
          Storage Width, in Bytes, for values stored in the Item.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isIndexed()
          Indicates if the Item is Indexed.
 boolean isPseudo()
          Indicates if the Item is a Pseudo Item.
 boolean isRedefined()
          Indicates if the Item is a Redefined Item.
 void setAlternateName(String rhs1)
          Alternate Name of the Item.
 void setIsIndexed(boolean rhs1)
          Indicates if the Item is Indexed.
 void setIsPseudo(boolean rhs1)
          Indicates if the Item is a Pseudo Item.
 void setIsRedefined(boolean rhs1)
          Indicates if the Item is Redefined.
 void setName(String rhs1)
          Name of the Item.
 void setNumberDecimals(int rhs1)
          Number of Decimals for Item values.
 void setOutputWidth(int rhs1)
          Output Width, in Bytes, for values stored in the Item.
 void setStartPosition(int rhs1)
          Start Position of the Item.
 void setType(int rhs1)
          Type of the Item, as an enumeration.
 void setWidth(int rhs1)
          Storage Width, in Bytes, for values stored in the Item.
 
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

ArcInfoItem

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

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

ArcInfoItem

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

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

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

getStartPosition

public int getStartPosition()
                     throws IOException,
                            AutomationException
Start Position of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getStartPosition in interface IArcInfoItem
Returns:
The startPosition
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface IArcInfoItem
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
Storage Width, in Bytes, for values stored in the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWidth in interface IArcInfoItem
Returns:
The width
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputWidth

public int getOutputWidth()
                   throws IOException,
                          AutomationException
Output Width, in Bytes, for values stored in the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOutputWidth in interface IArcInfoItem
Returns:
The outputWidth
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws IOException,
                   AutomationException
Type of the Item, as an enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getType in interface IArcInfoItem
Returns:
A com.esri.arcgis.datasourcesfile.esriArcInfoItemType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberDecimals

public int getNumberDecimals()
                      throws IOException,
                             AutomationException
Number of Decimals for Item values.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNumberDecimals in interface IArcInfoItem
Returns:
The numberDecimals
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAlternateName

public String getAlternateName()
                        throws IOException,
                               AutomationException
Alternate Name of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAlternateName in interface IArcInfoItem
Returns:
The alternateName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRedefined

public boolean isRedefined()
                    throws IOException,
                           AutomationException
Indicates if the Item is a Redefined Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRedefined in interface IArcInfoItem
Returns:
The isRedefined
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPseudo

public boolean isPseudo()
                 throws IOException,
                        AutomationException
Indicates if the Item is a Pseudo Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isPseudo in interface IArcInfoItem
Returns:
The isPseudo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIndexed

public boolean isIndexed()
                  throws IOException,
                         AutomationException
Indicates if the Item is Indexed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isIndexed in interface IArcInfoItem
Returns:
The isIndexed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStartPosition

public void setStartPosition(int rhs1)
                      throws IOException,
                             AutomationException
Start Position of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setStartPosition in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String rhs1)
             throws IOException,
                    AutomationException
Name of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setName in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

public void setWidth(int rhs1)
              throws IOException,
                     AutomationException
Storage Width, in Bytes, for values stored in the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setWidth in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputWidth

public void setOutputWidth(int rhs1)
                    throws IOException,
                           AutomationException
Output Width, in Bytes, for values stored in the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setOutputWidth in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(int rhs1)
             throws IOException,
                    AutomationException
Type of the Item, as an enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setType in interface IArcInfoItemEdit
Parameters:
rhs1 - A com.esri.arcgis.datasourcesfile.esriArcInfoItemType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumberDecimals

public void setNumberDecimals(int rhs1)
                       throws IOException,
                              AutomationException
Number of Decimals for Item values.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setNumberDecimals in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlternateName

public void setAlternateName(String rhs1)
                      throws IOException,
                             AutomationException
Alternate Name of the Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setAlternateName in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsRedefined

public void setIsRedefined(boolean rhs1)
                    throws IOException,
                           AutomationException
Indicates if the Item is Redefined.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setIsRedefined in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsPseudo

public void setIsPseudo(boolean rhs1)
                 throws IOException,
                        AutomationException
Indicates if the Item is a Pseudo Item.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setIsPseudo in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsIndexed

public void setIsIndexed(boolean rhs1)
                  throws IOException,
                         AutomationException
Indicates if the Item is Indexed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setIsIndexed in interface IArcInfoItemEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.