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_CSREF, 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 intgetStructCode()Structure code.java.lang.StringgetStructName()String representation of structure.abstract java.lang.StringtoString()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:XPRMTypedStructure code. The code is one of theSTR_*values.- Returns:
 - Encoded structure
 
 
-  
getStructName
public final java.lang.String getStructName()
Description copied from interface:XPRMTypedString representation of structure.- Returns:
 - Structure name
 
 
-  
toString
public abstract java.lang.String toString()
String representation of the reference.- Overrides:
 - 
         
toStringin classjava.lang.Object - Returns:
 - String corresponding to the value
 
 
 -  
 
 -  
        
 
