Class CreatorExpression

java.lang.Object
org.datanucleus.store.query.expression.Expression
org.datanucleus.store.query.expression.CreatorExpression
All Implemented Interfaces:
Serializable

public class CreatorExpression extends Expression
Expression representing something like "new X.Y.Z([param1[,param2[,param3]]])".
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • tuples

      List<String> tuples
      Components of the class name being created e.g ["org", "datanucleus", "MyClass"].
    • arguments

      List<Expression> arguments
      Arguments for the creation call.
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Accessor for the class name of the object being created.
      Returns:
      Name of the class
    • getArguments

      public List<Expression> getArguments()
      Accessor for the arguments to use in the creation call.
      Returns:
      Argument list
    • getTuples

      public List getTuples()
    • bind

      public Symbol bind(SymbolTable symtbl)
      Method to bind the expression to the symbol table as appropriate.
      Specified by:
      bind in class Expression
      Parameters:
      symtbl - Symbol table
      Returns:
      The symbol for this expression
    • toString

      public String toString()
      Overrides:
      toString in class Object