Class CsdlDynamicExpression

Direct Known Subclasses:
CsdlAnnotationPath, CsdlApply, CsdlCast, CsdlCollection, CsdlIf, CsdlIsOf, CsdlLabeledElement, CsdlLabeledElementReference, CsdlLogicalOrComparisonExpression, CsdlNavigationPropertyPath, CsdlNull, CsdlPath, CsdlPropertyPath, CsdlRecord, CsdlUrlRef

public abstract class CsdlDynamicExpression extends CsdlExpression
  • Constructor Details

    • CsdlDynamicExpression

      public CsdlDynamicExpression()
  • Method Details

    • isLogicalOrComparison

      public boolean isLogicalOrComparison()
      Returns true if the expression is a logical expression
      Returns:
      true if the expression is a logical expression
    • asLogicalOrComparison

      public CsdlLogicalOrComparisonExpression asLogicalOrComparison()
      Casts the expression to a CsdlLogicalOrComparisonExpression expression
      Returns:
      CsdlLogicalExpression expression
    • isAnnotationPath

      public boolean isAnnotationPath()
      Returns true if the expression is a edm:AnnotationPath expression
      Returns:
      true if the expression is a edm:AnnotationPath expression
    • asAnnotationPath

      public CsdlAnnotationPath asAnnotationPath()
      Casts the expression to a CsdlAnnotationPath expression
      Returns:
      AnnotationPath expression
    • isApply

      public boolean isApply()
      Returns true if the expression is a edm:Apply expression
      Returns:
      true if the expression is a edm:Apply expression
    • asApply

      public CsdlApply asApply()
      Casts the expression to a CsdlApply expression
      Returns:
      Apply expression
    • isCast

      public boolean isCast()
      Returns true if the expression is a edm:Cast expression
      Returns:
      true if the expression is a edm:Cast expression
    • asCast

      public CsdlCast asCast()
      Casts the expression to a CsdlCast expression
      Returns:
      Cast expression
    • isCollection

      public boolean isCollection()
      Returns true if the expression is a edm:Collection expression
      Returns:
      true if the expression is a edm:Collection expression
    • asCollection

      public CsdlCollection asCollection()
      Casts the expression to a Collection expression
      Returns:
      Collection expression
    • isIf

      public boolean isIf()
      Returns true if the expression is a edm:If expression
      Returns:
      true if the expression is a edm:If expression
    • asIf

      public CsdlIf asIf()
      Casts the expression to a CsdlIf expression
      Returns:
      If expression
    • isIsOf

      public boolean isIsOf()
      Returns true if the expression is a edm:IsOf expression
      Returns:
      true if the expression is a edm:IsOf expression
    • asIsOf

      public CsdlIsOf asIsOf()
      Casts the expression to a CsdlIsOf expression
      Returns:
      IsOf expression
    • isLabeledElement

      public boolean isLabeledElement()
      Returns true if the expression is a edm:LabeledElement expression
      Returns:
      true if the expression is a edm:LabeledElement expression
    • asLabeledElement

      public CsdlLabeledElement asLabeledElement()
      Casts the expression to a CsdlLabeledElement expression
      Returns:
      LabeledElement expression
    • isLabeledElementReference

      public boolean isLabeledElementReference()
      Returns true if the expression is a edm:LabeledElementReference expression
      Returns:
      true if the expression is a edm:LabeledElementReference expression
    • asLabeledElementReference

      public CsdlLabeledElementReference asLabeledElementReference()
      Casts the expression to a CsdlLabeledElementReference expression
      Returns:
      LabeledElementReference expression
    • isNull

      public boolean isNull()
      Returns true if the expression is a edm:Null expression
      Returns:
      true if the expression is a edm:Null expression
    • asNull

      public CsdlNull asNull()
      Casts the expression to a CsdlNull expression
      Returns:
      Null expression
    • isNavigationPropertyPath

      public boolean isNavigationPropertyPath()
      Returns true if the expression is a edm:NavigationPropertyPath expression
      Returns:
      true if the expression is a edm:NavigationPropertyPath expression
    • asNavigationPropertyPath

      public CsdlNavigationPropertyPath asNavigationPropertyPath()
      Casts the expression to a CsdlNavigationPropertyPath expression
      Returns:
      NavigationPropertyPath expression
    • isPath

      public boolean isPath()
      Returns true if the expression is a edm:Path expression
      Returns:
      true if the expression is a edm:Path expression
    • asPath

      public CsdlPath asPath()
      Casts the expression to a CsdlPath expression
      Returns:
      Path expression
    • isPropertyPath

      public boolean isPropertyPath()
      Returns true if the expression is a edm:PropertyPath expression
      Returns:
      true if the expression is a edm:PropertyPath expression
    • asPropertyPath

      public CsdlPropertyPath asPropertyPath()
      Casts the expression to a CsdlPropertyPath expression
      Returns:
      PropertyPath expression
    • isRecord

      public boolean isRecord()
      Returns true if the expression is a edm:Record expression
      Returns:
      true if the expression is a edm:Record expression
    • asRecord

      public CsdlRecord asRecord()
      Casts the expression to a CsdlRecord expression
      Returns:
      Record expression
    • isUrlRef

      public boolean isUrlRef()
      Returns true if the expression is a edm:UrlRef expression
      Returns:
      true if the expression is a edm:UrlRef expression
    • asUrlRef

      public CsdlUrlRef asUrlRef()
      Casts the expression to a CsdlUrlRef expression
      Returns:
      UrlRef expression