Class Traceable

  • Direct Known Subclasses:
    Commentable, Model, RunMode

    public abstract class Traceable
    extends java.lang.Object
    A traceable has an optional location.
    • Constructor Summary

      Constructors 
      Constructor Description
      Traceable()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocation()
      Get the location.
      void setLocation​(java.lang.String value)
      Set the location.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Traceable

        public Traceable()
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Get the location. The location might be the location of the model file or any other means identifying where the object is defined.
        Returns:
        The location or null.
      • setLocation

        public void setLocation​(java.lang.String value)
        Set the location.
        Parameters:
        value - The new location.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object