Class TLcdDataObjectExpressionContext

java.lang.Object
com.luciad.datamodel.expression.TLcdDataObjectExpressionContext

public class TLcdDataObjectExpressionContext extends Object
Context that is used to provide contextual information for evaluating expressions. The context contains at least the root object.
Since:
10.1
  • Constructor Details

    • TLcdDataObjectExpressionContext

      public TLcdDataObjectExpressionContext(ILcdDataObject aRoot)
      Constructs a new instance with the given object as root.
      Parameters:
      aRoot -
    • TLcdDataObjectExpressionContext

      public TLcdDataObjectExpressionContext(ILcdDataObject aRoot, Map<String,Object> aProperties)
      Constructs a new instance with the given object as root and the given map as properties.
      Parameters:
      aRoot - the root object
      aProperties - the map with properties
  • Method Details

    • getRoot

      public ILcdDataObject getRoot()
      Returns the root object of this context.
      Returns:
      the root object of this context
      See Also:
    • setRoot

      public void setRoot(ILcdDataObject aRoot)
      Sets the root of this context to the given object.
      Parameters:
      aRoot - the root of this context
      See Also:
    • getProperties

      public Map<String,Object> getProperties()
      Returns a map containing the properties of this context. This map is typically used to keep track of additional information to be used during expression evaluation. One example could be for instance an expression language that supports the use of variables. These variables can then be stored in the properties of the context.
      Returns:
      the map of properties for this context