Metainformation for aXLang elements. More...
Public Member Functions | |
| int | compareTo (MetaInformation theOther) |
| Defines the sorting order. | |
| Integer | getColumnEnd () |
| Returns the column number that contains the end of the element declaration. | |
| Integer | getColumnStart () |
| Returns the column number that contains the start of the element declaration. | |
| Position | getDynamicposition () |
| String | getFilename () |
| Returns the name of the file that contains the element declaration. | |
| String | getIncludeFileName () |
| Integer | getLineEnd () |
| Returns the line number that contains the end of the element declaration. | |
| Integer | getLineStart () |
| Returns the line number that contains the start of the element declaration. | |
| MetaInformation () | |
| Constructor with no values. | |
| MetaInformation (String filename) | |
| Constructor with only a filename. | |
| MetaInformation (String newFilename, String newIncludeFilename, Integer lineStart, Integer lineEnd, Integer columnStart, Integer columnEnd) | |
| Constructor with all values nut dynamic position. | |
| void | setColumnEnd (Integer column) |
| Sets the column number that contains the end of the element declaration. | |
| void | setColumnStart (Integer column) |
| Sets the column number that contains the start of the element declaration. | |
| void | setDynamicposition (Position dynamicposition) |
| void | setFilename (String filename) |
| Sets the name of the file that contains the element declaration. | |
| void | setIncludeFileName (String sIncludeFileName) |
| void | setLineEnd (Integer line) |
| Sets the line number that contains the end of the element declaration. | |
| void | setLineStart (Integer line) |
| Sets the line number that contains the start of the element declaration. | |
| String | toString () |
| Returns the string representation of the meta information. | |
Static Public Attributes | |
| static final Integer | NO_VALUE = Integer.valueOf(-1) |
| value if no value is given | |
Private Attributes | |
| Integer | iColumnEnd = NO_VALUE |
| column number that contains the end of the element declaration | |
| Integer | iColumnStart = NO_VALUE |
| column number that contains the start of the element declaration | |
| Integer | iLineEnd = NO_VALUE |
| line number that contains the end of the element declaration | |
| Integer | iLineStart = NO_VALUE |
| line number that contains the start of the element declaration | |
| Position | pDynamicPosition = null |
| dynamic position | |
| String | sFilename = null |
| name of the file that contains the element declaration | |
| String | sIncludeFileName = null |
| the include string of the file | |
Metainformation for aXLang elements.
This class stores the meta information for elements. This information that is only needed during the lifetime of the model, it does not have to be stored.
| de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.MetaInformation | ( | ) |
Constructor with no values.
| de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.MetaInformation | ( | String | filename | ) |
Constructor with only a filename.
| filename |
| de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.MetaInformation | ( | String | newFilename, | |
| String | newIncludeFilename, | |||
| Integer | lineStart, | |||
| Integer | lineEnd, | |||
| Integer | columnStart, | |||
| Integer | columnEnd | |||
| ) |
Constructor with all values nut dynamic position.
| newFilename | filename | |
| newIncludeFilename | include filename | |
| lineStart | line start | |
| lineEnd | line end | |
| columnStart | column start | |
| columnEnd | column end |
| int de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.compareTo | ( | MetaInformation | theOther | ) |
Defines the sorting order.
| theOther | other meta information |
| <0 | this element is less than the other | |
| 0 | this element equals the other | |
| >0 | this element is greater than the other |
| Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getColumnEnd | ( | ) |
Returns the column number that contains the end of the element declaration.
| Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getColumnStart | ( | ) |
Returns the column number that contains the start of the element declaration.
| Position de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getDynamicposition | ( | ) |
| String de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getFilename | ( | ) |
Returns the name of the file that contains the element declaration.
| String de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getIncludeFileName | ( | ) |
| Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getLineEnd | ( | ) |
Returns the line number that contains the end of the element declaration.
| Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.getLineStart | ( | ) |
Returns the line number that contains the start of the element declaration.
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setColumnEnd | ( | Integer | column | ) |
Sets the column number that contains the end of the element declaration.
| column | the column to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setColumnStart | ( | Integer | column | ) |
Sets the column number that contains the start of the element declaration.
| column | the column to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setDynamicposition | ( | Position | dynamicposition | ) |
| dynamicposition | the dynamicposition to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setFilename | ( | String | filename | ) |
Sets the name of the file that contains the element declaration.
| filename | the filename to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setIncludeFileName | ( | String | sIncludeFileName | ) |
| sIncludeFileName | the sIncludeFileName to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setLineEnd | ( | Integer | line | ) |
Sets the line number that contains the end of the element declaration.
| line | the line to set |
| void de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.setLineStart | ( | Integer | line | ) |
Sets the line number that contains the start of the element declaration.
| line | the line to set |
| String de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.toString | ( | ) |
Returns the string representation of the meta information.
Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.iColumnEnd = NO_VALUE [private] |
column number that contains the end of the element declaration
Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.iColumnStart = NO_VALUE [private] |
column number that contains the start of the element declaration
Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.iLineEnd = NO_VALUE [private] |
line number that contains the end of the element declaration
Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.iLineStart = NO_VALUE [private] |
line number that contains the start of the element declaration
final Integer de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.NO_VALUE = Integer.valueOf(-1) [static] |
value if no value is given
Position de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.pDynamicPosition = null [private] |
dynamic position
String de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.sFilename = null [private] |
name of the file that contains the element declaration
String de.fraunhofer.isst.axbench.axlang.utilities.MetaInformation.sIncludeFileName = null [private] |
the include string of the file
1.7.1