public class LicensedDataExtension extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAutoExtension, IExtension, IDataLicenseManager
Description 'The Licensed Data Extension.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDa5009874_e58f_42df_be62_873a7661ecdf, xxDummy
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy
IID, IID2d5b7a40_f25b_4490_b36c_edd367df33d0, xxDummy
Constructor and Description |
---|
LicensedDataExtension()
Constructs a LicensedDataExtension using ArcGIS Engine.
|
LicensedDataExtension(java.lang.Object obj)
Construct a LicensedDataExtension using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addLicenseFromFile(java.lang.String bstrLicenseFileName)
Adds license information.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
Number of license information.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IDataLicenseInfo |
getLicenseInfo(int nIdx)
Returns license information by index.
|
IDataLicenseInfo |
getLicenseInfoFromFile(java.lang.String bstrLicenseFileName)
Returns license information by file name.
|
java.lang.String |
getName()
The name of the extension.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
removeLicense(int nIdx)
Removes license information.
|
void |
shutdown()
Shuts down the extension.
|
void |
startup(java.lang.Object initializationData)
Starts up the extension with the given initialization data.
|
public LicensedDataExtension() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic LicensedDataExtension(java.lang.Object obj) throws java.io.IOException
obj
to LicensedDataExtension
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problems
LicensedDataExtension theLicensedDataExtension = (LicensedDataExtension) obj;
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IExtension
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startup(java.lang.Object initializationData) throws java.io.IOException, AutomationException
startup
in interface IExtension
initializationData
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws java.io.IOException, AutomationException
shutdown
in interface IExtension
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IDataLicenseManager
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDataLicenseInfo getLicenseInfo(int nIdx) throws java.io.IOException, AutomationException
getLicenseInfo
in interface IDataLicenseManager
nIdx
- The nIdx (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addLicenseFromFile(java.lang.String bstrLicenseFileName) throws java.io.IOException, AutomationException
addLicenseFromFile
in interface IDataLicenseManager
bstrLicenseFileName
- The bstrLicenseFileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void removeLicense(int nIdx) throws java.io.IOException, AutomationException
removeLicense
in interface IDataLicenseManager
nIdx
- The nIdx (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDataLicenseInfo getLicenseInfoFromFile(java.lang.String bstrLicenseFileName) throws java.io.IOException, AutomationException
getLicenseInfoFromFile
in interface IDataLicenseManager
bstrLicenseFileName
- The bstrLicenseFileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.