- java.lang.Object
-
- org.tentackle.model.parse.Line
-
- org.tentackle.model.parse.SingleLine
-
- org.tentackle.model.parse.GlobalOptionLine
-
public class GlobalOptionLine extends SingleLine
Global options line.Example:
[bind, autoselect, tracked, editedby, tableserial, generated]
- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description GlobalOptionLine(Document document, int offset, LineType lineType)Creates a global options line.
This line always spans only one line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getOptions()Gets the option strings.List<String>getSortings()Gets the sorting strings.List<String>getStereotypes()Gets the stereotypes.voidparse()Parses a line.-
Methods inherited from class org.tentackle.model.parse.Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
-
-
-
Method Detail
-
parse
public void parse() throws ModelExceptionDescription copied from class:LineParses a line.- Overrides:
parsein classSingleLine- Throws:
ModelException- if parsing failed
-
getOptions
public List<String> getOptions() throws ModelException
Gets the option strings.- Returns:
- the options
- Throws:
ModelException- if not parsed
-
getStereotypes
public List<String> getStereotypes() throws ModelException
Gets the stereotypes.- Returns:
- the sterotypes
- Throws:
ModelException- if not parsed
-
getSortings
public List<String> getSortings() throws ModelException
Gets the sorting strings.- Returns:
- the sortings
- Throws:
ModelException- if not parsed
-
-