XPRMLocation
- java.lang.Object
-  
  - com.dashoptimization.XPRMLocation
 
-  
   
 
 public class XPRMLocation extends java.lang.ObjectA location in a model source.
-  
    
   -  
        Field SummaryModifier and Type Field and Description intlineIndexLine index.XPRMModelmodelModel for which this location is defined.
 -  
        Method SummaryModifier and Type Method and Description java.lang.StringgetFileName()Get the file name associated to the source location.intgetLine()Get the line number associated to the source location.java.lang.StringtoString()Get a string representation of the location.
 
-  
        
-  
    
   -  
        Field Detail-  lineIndexpublic final int lineIndex Line index. All statements of a model and numbered from 0 toXPRMModel.lastLineIndex.- See Also:
- 
         XPRMModel.getLocation(int)
 
 -  modelpublic final XPRMModel model Model for which this location is defined.
 
-  
 -  
        Method Detail-  getLinepublic int getLine() Get the line number associated to the source location.- Returns:
- Line number in the source file.
 
 -  getFileNamepublic java.lang.String getFileName() Get the file name associated to the source location.- Returns:
- Source file name.
 
 -  toStringpublic java.lang.String toString() Get a string representation of the location. This is the concatenation "filename:line".- Overrides:
- 
         toStringin classjava.lang.Object
- Returns:
- String representation of the location
 
 
-  
 
-  
        
 
