All Implemented Interfaces:
CsdlAnnotatable

public class CsdlIsOf extends CsdlDynamicExpression implements CsdlAnnotatable
The edm:IsOf expression evaluates a child expression and returns a Boolean value indicating whether the child expression returns the specified type
  • Constructor Details

    • CsdlIsOf

      public CsdlIsOf()
  • Method Details

    • getAnnotations

      public List<CsdlAnnotation> getAnnotations()
      Description copied from interface: CsdlAnnotatable
      Returns a list of annotations
      Specified by:
      getAnnotations in interface CsdlAnnotatable
      Returns:
      list of annotations
    • setAnnotations

      public CsdlIsOf setAnnotations(List<CsdlAnnotation> annotations)
    • getType

      public String getType()
      The type which is checked again the child expression
      Returns:
      EdmType type
    • setType

      public CsdlIsOf setType(String type)
    • getMaxLength

      public Integer getMaxLength()
      Facet MaxLength
      Returns:
      fact MaxLength
    • setMaxLength

      public CsdlIsOf setMaxLength(Integer maxLength)
    • getPrecision

      public Integer getPrecision()
      Facet Precision
      Returns:
      fact Precision
    • setPrecision

      public CsdlIsOf setPrecision(Integer precision)
    • getScale

      public Integer getScale()
      Facet Scale
      Returns:
      facet Scale
    • setScale

      public CsdlIsOf setScale(Integer scale)
    • getSrid

      public SRID getSrid()
      Facet SRID
      Returns:
      facet SRID
    • setSrid

      public CsdlIsOf setSrid(SRID srid)
    • getValue

      public CsdlExpression getValue()
      Returns the child expression
      Returns:
      Returns the child expression
    • setValue

      public CsdlIsOf setValue(CsdlExpression value)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object