java.lang.Object
org.qubership.integration.platform.engine.mapper.atlasmap.expressions.UnaryExpression
All Implemented Interfaces:
io.atlasmap.expression.Expression

public abstract class UnaryExpression extends Object implements io.atlasmap.expression.Expression
Copied from io.atlasmap.expression.internal.BooleanExpression Added all the types from JsonFieldReader to negate. An expression which performs an operation on two expression values.
Version:
$Revision: 1.3 $
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected io.atlasmap.expression.Expression
     

    Fields inherited from interface io.atlasmap.expression.Expression

    CACHE
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnaryExpression(io.atlasmap.expression.Expression left)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.atlasmap.expression.internal.BooleanExpression
    createBooleanCast(io.atlasmap.expression.Expression left)
     
    static io.atlasmap.expression.internal.BooleanExpression
    createInExpression(io.atlasmap.expression.internal.VariableExpression right, List<Object> elements, boolean not)
     
    static io.atlasmap.expression.Expression
    createNegate(io.atlasmap.expression.Expression left)
     
    static io.atlasmap.expression.internal.BooleanExpression
    createNOT(io.atlasmap.expression.internal.BooleanExpression left)
     
    boolean
    TODO: more efficient hashCode()
    abstract String
    Returns the symbol that represents this binary expression.
    io.atlasmap.expression.Expression
     
    int
    TODO: more efficient hashCode()
    void
    setRight(io.atlasmap.expression.Expression expression)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.atlasmap.expression.Expression

    evaluate
  • Field Details

  • Constructor Details

    • UnaryExpression

      public UnaryExpression(io.atlasmap.expression.Expression left)
  • Method Details

    • createNegate

      public static io.atlasmap.expression.Expression createNegate(io.atlasmap.expression.Expression left)
    • createInExpression

      public static io.atlasmap.expression.internal.BooleanExpression createInExpression(io.atlasmap.expression.internal.VariableExpression right, List<Object> elements, boolean not)
    • createNOT

      public static io.atlasmap.expression.internal.BooleanExpression createNOT(io.atlasmap.expression.internal.BooleanExpression left)
    • createBooleanCast

      public static io.atlasmap.expression.internal.BooleanExpression createBooleanCast(io.atlasmap.expression.Expression left)
    • getRight

      public io.atlasmap.expression.Expression getRight()
    • setRight

      public void setRight(io.atlasmap.expression.Expression expression)
    • toString

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

      public int hashCode()
      TODO: more efficient hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      TODO: more efficient hashCode()
      Overrides:
      equals in class Object
    • getExpressionSymbol

      public abstract String getExpressionSymbol()
      Returns the symbol that represents this binary expression. For example, addition is represented by "+"
      Returns:
      expression symbol string