com.esri.arcgis.system
Class LicenseInfoEnum

java.lang.Object
  extended by com.esri.arcgis.system.LicenseInfoEnum
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ILicenseInfoEnum, Serializable

public class LicenseInfoEnum
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILicenseInfoEnum

Enumerator of extension licenses supported by a product.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
LicenseInfoEnum()
          Constructs a LicenseInfoEnum using ArcGIS Engine.
LicenseInfoEnum(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LicenseInfoEnum theLicenseInfoEnum = (LicenseInfoEnum) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 int next()
          Get the next extension code.
 void reset()
          Get the next extension code.
 
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

LicenseInfoEnum

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

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

LicenseInfoEnum

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

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

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

reset

public void reset()
           throws IOException,
                  AutomationException
Get the next extension code.

Description

Resets the ILicenseInfoEnum collection to the beginning. To make subsequent passes through the ILicenseInfoEnum collection use the Reset method to go back to the first license extension code constant in the collection.

Product Availability

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

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

next

public int next()
         throws IOException,
                AutomationException
Get the next extension code.

Description

The Next method advances the ILicenseInfoEnum collection by one, and returns the license extension code constant at that position.

Product Availability

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

Specified by:
next in interface ILicenseInfoEnum
Returns:
A com.esri.arcgis.system.esriLicenseExtensionCode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.