Package de.gebit.integrity.modelsource

## Class ModelSourceInformationElement

- java.lang.Object
- - de.gebit.integrity.modelsource.ModelSourceInformationElement

-     public class ModelSourceInformationElement
      extends Object

  Container for source-related information about a model element.
  Author:
    Rene Schneider - initial API and implementation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ModelSourceInformationElement​(String aSnippet, String aFilePath, int aLineNumber)` | Creates an instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getFilePath()` |
    `int` | `getLineNumber()` |
    `String` | `getSnippet()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelSourceInformationElement

          public ModelSourceInformationElement​(String aSnippet,
                                               String aFilePath,
                                               int aLineNumber)

      Creates an instance.
      Parameters:
        `aSnippet` - the original snippet
        `aFilePath` - the file path
        `aLineNumber` - the line number

  - ### Method Detail

    - #### getSnippet

          public String getSnippet()

    - #### getFilePath

          public String getFilePath()

    - #### getLineNumber

          public int getLineNumber()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`