All Implemented Interfaces:
EdmDynamicExpression, EdmExpression, EdmIf, EdmAnnotatable

public class EdmIfImpl extends AbstractEdmAnnotatableDynamicExpression implements EdmIf
  • Constructor Details

    • EdmIfImpl

      public EdmIfImpl(Edm edm, CsdlIf csdlExp)
  • Method Details

    • getGuard

      public EdmExpression getGuard()
      Description copied from interface: EdmIf
      Returns the first expression of the edm:If expression. This expression represents the condition of the if expression
      Specified by:
      getGuard in interface EdmIf
      Returns:
      First expression of the if expression
    • getThen

      public EdmExpression getThen()
      Description copied from interface: EdmIf
      Return the second expression of the edm:If expression. If the condition of the condition is evaluated to true, this expression as to be executed.
      Specified by:
      getThen in interface EdmIf
      Returns:
      Second Expression of the edm:If expression
    • getElse

      public EdmExpression getElse()
      Description copied from interface: EdmIf
      Return the third expression of the edm:If expression. If the condition of the condition is evaluated to false, this expression as to be executed.
      Specified by:
      getElse in interface EdmIf
      Returns:
      Third Expression of the edm:If expression
    • getExpressionType

      public EdmExpression.EdmExpressionType getExpressionType()
      Description copied from interface: EdmExpression
      Specified by:
      getExpressionType in interface EdmExpression
      Returns:
      the type of this expression