XPRMModule
- java.lang.Object
-
- com.dashoptimization.XPRMModule
-
public class XPRMModule extends java.lang.Object
A Mosel Module.
-
-
Method Summary
Modifier and Type Method and Description XPRMConstants
constants()
Get an iterator to enumerate all constants of the module.java.lang.String
getCertificate()
Get the certificate of the module.java.lang.String
getName()
Get module name.int
getNumber()
Get module number.int
getNumberOfReferences()
Get number of references to this module.java.lang.String
getPath()
Get the path of the module.int
getPriority()
Get the priority of the module.XPRMVersion
getVersion()
Get module version.XPRMIODrivers
IODrivers()
Get an iterator to enumerate all IO drivers published by the module.XPRMParameters
parameters()
Get an iterator to enumerate all control parameters of the module.XPRMProcedures
procedures()
Get an iterator to enumerate all procedures and functions of the module.XPRMNativeTypes
types()
Get an iterator to enumerate all types published by the module.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get module name.- Returns:
- Name of the module
-
getNumber
public int getNumber()
Get module number. An order number is assigned to the module when it is loaded into memory.- Returns:
- Module number
-
getVersion
public XPRMVersion getVersion()
Get module version.- Returns:
- Module version as a version object
-
getNumberOfReferences
public int getNumberOfReferences()
Get number of references to this module. This corresponds to the number of models currently loaded requiring the module.- Returns:
- Number of references
-
getCertificate
public java.lang.String getCertificate()
Get the certificate of the module. Certified modules have a certificate string that can be retrieved using this method.- Returns:
- Certificate as a string
-
getPath
public java.lang.String getPath()
Get the path of the module. The full path where the module is loaded from.- Returns:
- Path as a string
-
getPriority
public int getPriority()
Get the priority of the module. The priority defines an order for module initialization and termination. A module with a lower priority value will be initialized before modules with higher priority values. Inversely, it will be reset before modules with higher priority values. The default priority is0
.- Returns:
- Priority value as an integer
-
procedures
public XPRMProcedures procedures()
Get an iterator to enumerate all procedures and functions of the module.- Returns:
- A procedure/function iterator
-
constants
public XPRMConstants constants()
Get an iterator to enumerate all constants of the module.- Returns:
- A constant iterator
-
types
public XPRMNativeTypes types()
Get an iterator to enumerate all types published by the module.- Returns:
- A native type iterator
-
parameters
public XPRMParameters parameters()
Get an iterator to enumerate all control parameters of the module.- Returns:
- A parameter iterator
-
IODrivers
public XPRMIODrivers IODrivers()
Get an iterator to enumerate all IO drivers published by the module.- Returns:
- An IO driver iterator
-
-
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.