Interface EdmConstantExpression

All Superinterfaces:
EdmExpression

public interface EdmConstantExpression extends EdmExpression
Represents a constant expression
  • Method Details

    • asPrimitive

      Object asPrimitive()
      The value object of this expression or null if it is of type enum or geospatial.
      Returns:
      a value object or null
    • asEnumMembers

      List<String> asEnumMembers()
      A list of enum members or empty list if this expression is of type primitive or geospatial.
      Returns:
      a list of all enum members or empty list
    • getEnumTypeName

      String getEnumTypeName()
      Return the Enum type name or null if this expression is of type primitive or geospatial.
      Returns:
      enum type name or null
    • asGeospatial

      Geospatial asGeospatial()
      Return the geospatial object or null if this expression is of type primitive or enum.
      Returns:
      geospatial object or null
    • getValueAsString

      String getValueAsString()
      Returns the value of the expression as String.
      Returns:
      String representation of the expression