Initializing help system before first use

XPRMLocation

  • java.lang.Object
    • com.dashoptimization.XPRMLocation


  • public class XPRMLocation
    extends java.lang.Object
    A location in a model source.
    • Field Summary

      Modifier and Type Field and Description
      int lineIndex
      Line index.
      XPRMModel model
      Model for which this location is defined.
    • Method Summary

      Modifier and Type Method and Description
      java.lang.String getFileName()
      Get the file name associated to the source location.
      int getLine()
      Get the line number associated to the source location.
      java.lang.String toString()
      Get a string representation of the location.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getLine

        public int getLine()
        Get the line number associated to the source location.
        Returns:
        Line number in the source file.
      • getFileName

        public java.lang.String getFileName()
        Get the file name associated to the source location.
        Returns:
        Source file name.
      • toString

        public java.lang.String toString()
        Get a string representation of the location. This is the concatenation "filename:line".
        Overrides:
        toString in class  java.lang.Object
        Returns:
        String representation of the location