com.esri.arcgis.datasourcesfile
Class ArcInfoItem

java.lang.Object
  extended bycom.esri.arcgis.datasourcesfile.ArcInfoItem
All Implemented Interfaces:
IArcInfoItem, IArcInfoItemEdit, ISupportErrorInfo, java.io.Serializable

public class ArcInfoItem
extends java.lang.Object
implements 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(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 getAlternateName()
          Alternate Name of the Item.
 IArcInfoItem getAsIArcInfoItem()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IArcInfoItemEdit getAsIArcInfoItemEdit()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ISupportErrorInfo getAsISupportErrorInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 java.lang.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)
          Supported Platforms
 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(java.lang.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(java.lang.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
 

Constructor Detail

ArcInfoItem

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

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

ArcInfoItem

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

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.
ArcInfoItem theArcInfoItem = (ArcInfoItem) 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()

getAsIArcInfoItem

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


getAsIArcInfoItemEdit

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


getAsISupportErrorInfo

public ISupportErrorInfo getAsISupportErrorInfo()
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


getStartPosition

public int getStartPosition()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IArcInfoItem
Start Position of the Item.

Supported Platforms

Windows, Solaris, Linux

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IArcInfoItem
Name of the Item.

Supported Platforms

Windows, Solaris, Linux

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

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IArcInfoItem
Storage Width, in Bytes, for values stored in the Item.

Supported Platforms

Windows, Solaris, Linux

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

getOutputWidth

public int getOutputWidth()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IArcInfoItem
Output Width, in Bytes, for values stored in the Item.

Supported Platforms

Windows, Solaris, Linux

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

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IArcInfoItem
Type of the Item, as an enumeration.

Supported Platforms

Windows, Solaris, Linux

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

getNumberDecimals

public int getNumberDecimals()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IArcInfoItem
Number of Decimals for Item values.

Supported Platforms

Windows, Solaris, Linux

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

getAlternateName

public java.lang.String getAlternateName()
                                  throws java.io.IOException,
                                         AutomationException
Description copied from interface: IArcInfoItem
Alternate Name of the Item.

Supported Platforms

Windows, Solaris, Linux

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

isRedefined

public boolean isRedefined()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IArcInfoItem
Indicates if the Item is a Redefined Item.

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

isPseudo

public boolean isPseudo()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IArcInfoItem
Indicates if the Item is a Pseudo Item.

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

isIndexed

public boolean isIndexed()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IArcInfoItem
Indicates if the Item is Indexed.

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

setStartPosition

public void setStartPosition(int rhs1)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IArcInfoItemEdit
Start Position of the Item.

Supported Platforms

Windows, Solaris, Linux

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

setName

public void setName(java.lang.String rhs1)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IArcInfoItemEdit
Name of the Item.

Supported Platforms

Windows, Solaris, Linux

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

setWidth

public void setWidth(int rhs1)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IArcInfoItemEdit
Storage Width, in Bytes, for values stored in the Item.

Supported Platforms

Windows, Solaris, Linux

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

setOutputWidth

public void setOutputWidth(int rhs1)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IArcInfoItemEdit
Output Width, in Bytes, for values stored in the Item.

Supported Platforms

Windows, Solaris, Linux

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

setType

public void setType(int rhs1)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IArcInfoItemEdit
Type of the Item, as an enumeration.

Supported Platforms

Windows, Solaris, Linux

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

setNumberDecimals

public void setNumberDecimals(int rhs1)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IArcInfoItemEdit
Number of Decimals for Item values.

Supported Platforms

Windows, Solaris, Linux

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

setAlternateName

public void setAlternateName(java.lang.String rhs1)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IArcInfoItemEdit
Alternate Name of the Item.

Supported Platforms

Windows, Solaris, Linux

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

setIsRedefined

public void setIsRedefined(boolean rhs1)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IArcInfoItemEdit
Indicates if the Item is Redefined.

Supported Platforms

Windows, Solaris, Linux

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

setIsPseudo

public void setIsPseudo(boolean rhs1)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IArcInfoItemEdit
Indicates if the Item is a Pseudo Item.

Supported Platforms

Windows, Solaris, Linux

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

setIsIndexed

public void setIsIndexed(boolean rhs1)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IArcInfoItemEdit
Indicates if the Item is Indexed.

Supported Platforms

Windows, Solaris, Linux

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

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: ISupportErrorInfo

Supported Platforms

Windows, Solaris, Linux

Description

Indicates whether the interface supports IErrorInfo.

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