Interface Value

All Superinterfaces:
Document, Target
All Known Subinterfaces:
Scalar
All Known Implementing Classes:
Scalar.BooleanScalar, Scalar.DateScalar, Scalar.DateTimeScalar, Scalar.IntegerScalar, Scalar.NumberScalar, Scalar.StringScalar, Scalar.TimeScalar, Value.NullValue

public sealed interface Value extends Target, Document permits Scalar, Value.NullValue
Represents a value in the Document model (omnist-spec §2.2).
 value = scalar-value | null
 
A value is either a Scalar or Value.NullValue.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Represents the null value in the Document model (omnist-spec §2.2.1).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Value.NullValue
    Singleton instance representing the null value.
  • Field Details

    • NULL

      static final Value.NullValue NULL
      Singleton instance representing the null value.