java.lang.Object
de.mid.innovator.m2msdk.model.transformation.function.expressionparser.ParseItem

public class ParseItem extends Object
A item created by the parser.
Version:
11.1.0
Author:
jmback
  • Constructor Details

    • ParseItem

      public ParseItem(String iValue, boolean bFix)
    • ParseItem

      public ParseItem(PropertyTypeIF type)
  • Method Details

    • setPosition

      public void setPosition(int iStart, int iEnd)
    • setSubItems

      public void setSubItems(Object... objects)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(int index)
      Display item and sub items indented.
      Parameters:
      index - index in super item
      Returns:
      display string
    • getType

      public PropertyTypeIF getType()
      Get the property type of the parse item. This maybe null, if the property is matter of the meta model.
      Returns:
      property descriptor (maybe null)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getSubItems

      public List<ParseItem> getSubItems()
    • getItem

      public ParseItem getItem(int iPos)
      Get item at specified position of text.
      Parameters:
      iPos - position in text
      Returns:
      parse item which contains the text position
    • getParent

      public ParseItem getParent()
    • getStart

      public int getStart()
    • getEnd

      public int getEnd()