com.esri.arcgis.trackinganalyst
Class TxObjectContainer

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TxObjectContainer
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ITxObjectContainer, Serializable

public class TxObjectContainer
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITxObjectContainer

This object serves as a general purpose container of CJMTK Catalog objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
TxObjectContainer()
          Constructs a TxObjectContainer using ArcGIS Engine.
TxObjectContainer(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TxObjectContainer theTxObjectContainer = (TxObjectContainer) obj;
 
Method Summary
 ITxCatalogObject addChild(ITxCatalogObject child)
          Adds a new child and returns a reference to it.
 void deleteChild(ITxCatalogObject child)
          Deletes the specified child object.
 void empty()
          Empty the container.
 boolean equals(Object o)
          Compare this object with another
 IEnumTxObject getChildren()
          An enumeration of the child objects.
static String getClsid()
          getClsid.
 int getCount()
          The number of Objects in the container.
 int hashCode()
          the hashcode for this object
 boolean isAreChildrenViewable()
          Indicates if the objects children are available for viewing in the tree-view.
 boolean isHasChildren()
          Indicates if the catalog object have any children.
 
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

TxObjectContainer

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

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

TxObjectContainer

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

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

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

isHasChildren

public boolean isHasChildren()
                      throws IOException,
                             AutomationException
Indicates if the catalog object have any children.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

getChildren

public IEnumTxObject getChildren()
                          throws IOException,
                                 AutomationException
An enumeration of the child objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getChildren in interface ITxObjectContainer
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IEnumTxObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAreChildrenViewable

public boolean isAreChildrenViewable()
                              throws IOException,
                                     AutomationException
Indicates if the objects children are available for viewing in the tree-view.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

addChild

public ITxCatalogObject addChild(ITxCatalogObject child)
                          throws IOException,
                                 AutomationException
Adds a new child and returns a reference to it. However, if a duplicate already exists, the function returns the existing child instead.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
addChild in interface ITxObjectContainer
Parameters:
child - A reference to a com.esri.arcgis.trackinganalyst.ITxCatalogObject (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITxCatalogObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteChild

public void deleteChild(ITxCatalogObject child)
                 throws IOException,
                        AutomationException
Deletes the specified child object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
deleteChild in interface ITxObjectContainer
Parameters:
child - A reference to a com.esri.arcgis.trackinganalyst.ITxCatalogObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of Objects in the container.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

empty

public void empty()
           throws IOException,
                  AutomationException
Empty the container.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
empty in interface ITxObjectContainer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.