All Implemented Interfaces:
EdmCast, EdmDynamicExpression, EdmExpression, EdmAnnotatable

public class EdmCastImpl extends AbstractEdmAnnotatableDynamicExpression implements EdmCast
  • Constructor Details

    • EdmCastImpl

      public EdmCastImpl(Edm edm, CsdlCast csdlExp)
  • Method Details

    • getMaxLength

      public Integer getMaxLength()
      Description copied from interface: EdmCast
      Returns the facet attribute MaxLength
      Specified by:
      getMaxLength in interface EdmCast
      Returns:
      Returns the facet attribute MaxLength
    • getPrecision

      public Integer getPrecision()
      Description copied from interface: EdmCast
      Returns the facet attribute Precision
      Specified by:
      getPrecision in interface EdmCast
      Returns:
      Returns the facet attribute Precision
    • getScale

      public Integer getScale()
      Description copied from interface: EdmCast
      Returns the facet attribute Scale
      Specified by:
      getScale in interface EdmCast
      Returns:
      Returns the facet attribute Scale
    • getSrid

      public SRID getSrid()
      Description copied from interface: EdmCast
      Returns the facet attribute SRID
      Specified by:
      getSrid in interface EdmCast
      Returns:
      Returns the facet attribute SRID
    • getType

      public EdmType getType()
      Description copied from interface: EdmCast
      Value cast to
      Specified by:
      getType in interface EdmCast
      Returns:
      value cast to
    • getValue

      public EdmExpression getValue()
      Description copied from interface: EdmCast
      Cast value of the expression
      Specified by:
      getValue in interface EdmCast
      Returns:
      Cast value
    • getExpressionType

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