XPRMReference
- java.lang.Object
-
- com.dashoptimization.XPRMValue
-
- com.dashoptimization.XPRMReference
-
- All Implemented Interfaces:
- XPRMTyped
- Direct Known Subclasses:
- XPRMExternal, XPRMLinCtr, XPRMMPVar
public abstract class XPRMReference extends XPRMValue
A reference to a Mosel scalar variable.
-
-
Field Summary
-
Fields inherited from interface com.dashoptimization.XPRMTyped
GRP_DYN, GRP_GEN, MSK_FIX, MSK_GRP, MSK_STR, MSK_TYP, STR_ARRAY, STR_CONST, STR_LIST, STR_MEM, STR_NTYP, STR_PROB, STR_PROC, STR_REC, STR_REF, STR_SET, STR_UTYP, TYP_BOOL, TYP_EXTN, TYP_INT, TYP_LINCTR, TYP_MPVAR, TYP_NOT, TYP_REAL, TYP_STRING
-
-
Constructor Summary
Constructor and Description XPRMReference()
-
Method Summary
Modifier and Type Method and Description int
getStructCode()
Structure code.java.lang.String
getStructName()
String representation of structure.abstract java.lang.String
toString()
String representation of the reference.-
Methods inherited from class com.dashoptimization.XPRMValue
asArray, asBoolean, asExternal, asInteger, asLinCtr, asList, asMPVar, asProblem, asReal, asRecord, asSet, asString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.dashoptimization.XPRMTyped
getTypeCode, getTypeName
-
-
-
-
Method Detail
-
getStructCode
public final int getStructCode()
Description copied from interface:XPRMTyped
Structure code. The code is one of theSTR_*
values.- Returns:
- Encoded structure
-
getStructName
public final java.lang.String getStructName()
Description copied from interface:XPRMTyped
String representation of structure.- Returns:
- Structure name
-
toString
public abstract java.lang.String toString()
String representation of the reference.- Overrides:
-
toString
in classjava.lang.Object
- Returns:
- String corresponding to the value
-
-
© 2001-2019 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.