com.esri.arcgis.catalog
Class ComplexNativeType

java.lang.Object
  extended by com.esri.arcgis.catalog.ComplexNativeType
All Implemented Interfaces:
IComplexNativeType, INativeType, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ComplexNativeType
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INativeType, IComplexNativeType

Native type for built up of other native types.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
ComplexNativeType()
          Constructs a ComplexNativeType using ArcGIS Engine.
ComplexNativeType(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ComplexNativeType theComplexNativeType = (ComplexNativeType) obj;
 
Method Summary
 void addChild(INativeType pChild)
          Adds a child.
 boolean equals(Object o)
          Compare this object with another
 INativeType getChild(int index)
          Returns the nth child.
static String getClsid()
          getClsid.
 String getDescription()
          The description of the type.
 int getNumChildren()
          The number of children.
 IUID getTypeID()
          The unique ID of the type.
 int hashCode()
          the hashcode for this object
 
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

ComplexNativeType

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

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

ComplexNativeType

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

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

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

getTypeID

public IUID getTypeID()
               throws IOException,
                      AutomationException
The unique ID of the type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
The description of the type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

addChild

public void addChild(INativeType pChild)
              throws IOException,
                     AutomationException
Adds a child.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getChild

public INativeType getChild(int index)
                     throws IOException,
                            AutomationException
Returns the nth child.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getNumChildren

public int getNumChildren()
                   throws IOException,
                          AutomationException
The number of children.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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