Class ModelSourceInformationElement


  • public class ModelSourceInformationElement
    extends java.lang.Object
    Container for source-related information about a model element.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelSourceInformationElement​(java.lang.String aSnippet, java.lang.String aFilePath, int aLineNumber)
      Creates an instance.
    • Constructor Detail

      • ModelSourceInformationElement

        public ModelSourceInformationElement​(java.lang.String aSnippet,
                                             java.lang.String aFilePath,
                                             int aLineNumber)
        Creates an instance.
        Parameters:
        aSnippet - the original snippet
        aFilePath - the file path
        aLineNumber - the line number
    • Method Detail

      • getSnippet

        public java.lang.String getSnippet()
      • getFilePath

        public java.lang.String getFilePath()
      • getLineNumber

        public int getLineNumber()
      • toString

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