com.esri.arcgis.trackinganalyst
Class GeneralLibraryObject

java.lang.Object
  extended bycom.esri.arcgis.trackinganalyst.GeneralLibraryObject
All Implemented Interfaces:
IGeneralLibraryObject, ILibraryItem, IPersist, IPersistStream, ISupportErrorInfo, java.io.Serializable

public class GeneralLibraryObject
extends java.lang.Object
implements IGeneralLibraryObject, ILibraryItem, IPersistStream, ISupportErrorInfo

GeneralLibraryObject Class.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GeneralLibraryObject()
          Constructs a GeneralLibraryObject using ArcGIS Engine.
GeneralLibraryObject(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
 IGeneralLibraryObject getAsIGeneralLibraryObject()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILibraryItem getAsILibraryItem()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IPersistStream getAsIPersistStream()
          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.
 java.lang.String getCategory()
          Indicates category of library item.
 void getClassID(GUID[] pClassID)
          Supported Platforms
static java.lang.String getClsid()
           
 java.lang.String getID()
          ID value of library item.
 java.lang.String getName()
          Name of library item.
 ILibraryObject getParent()
          Indicates parent of library item.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          Supported Platforms
 java.lang.Object getVObject()
          A reference to a COM objects wrapped up in a variant.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          Supported Platforms
 void isDirty()
          Supported Platforms
 ILibraryItem libClone()
          Method libClone.
 void load(IStream pstm)
          Supported Platforms
 void save(IStream pstm, int fClearDirty)
          Supported Platforms
 void setCategory(java.lang.String pVal)
          Indicates category of library item.
 void setName(java.lang.String pVal)
          Name of library item.
 void setParent(ILibraryObject ppiVal)
          Indicates parent of library item.
 void setVObject(java.lang.Object pVal)
          A reference to a COM objects wrapped up in a variant.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralLibraryObject

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

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

GeneralLibraryObject

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

Construct a GeneralLibraryObject using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeneralLibraryObject.
GeneralLibraryObject theGeneralLibraryObject = (GeneralLibraryObject) 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()

getAsIGeneralLibraryObject

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


getAsILibraryItem

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


getAsIPersistStream

public IPersistStream getAsIPersistStream()
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


getVObject

public java.lang.Object getVObject()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IGeneralLibraryObject
A reference to a COM objects wrapped up in a variant.

Specified by:
getVObject in interface IGeneralLibraryObject
Returns:
A Variant
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setVObject

public void setVObject(java.lang.Object pVal)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IGeneralLibraryObject
A reference to a COM objects wrapped up in a variant.

Specified by:
setVObject in interface IGeneralLibraryObject
Parameters:
pVal - A Variant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: ILibraryItem
Indicates category of library item.

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

setCategory

public void setCategory(java.lang.String pVal)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ILibraryItem
Indicates category of library item.

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

getID

public java.lang.String getID()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ILibraryItem
ID value of library item.

Specified by:
getID in interface ILibraryItem
Returns:
The pVal
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: ILibraryItem
Name of library item.

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

setName

public void setName(java.lang.String pVal)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ILibraryItem
Name of library item.

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

getParent

public ILibraryObject getParent()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ILibraryItem
Indicates parent of library item.

Specified by:
getParent in interface ILibraryItem
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ILibraryObject
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setParent

public void setParent(ILibraryObject ppiVal)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ILibraryItem
Indicates parent of library item.

Specified by:
setParent in interface ILibraryItem
Parameters:
ppiVal - A reference to a com.esri.arcgis.trackinganalyst.ILibraryObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

libClone

public ILibraryItem libClone()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ILibraryItem
Method libClone.

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

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

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

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersist

Supported Platforms

Windows, Solaris, Linux

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

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.