Interface LaravelUi5\OData\Edm\Contracts\Annotation\AnnotationValueInterface

Root contract for every value that can appear in an annotation.

The value hierarchy has three concrete forms:

  • ConstantAnnotationValueInterface — a single primitive value (String, Bool, Int, Decimal, Float, Guid, Date, DateTimeOffset, Duration, TimeOfDay, Binary, or an EnumMember literal)

  • RecordAnnotationValueInterface — a structured value with named property values, optionally typed by a qualified term type

  • CollectionAnnotationValueInterface — an ordered list of values, each of which is itself an AnnotationValueInterface

Callers that need to act on the concrete form should use instanceof checks. A future specialized layer may introduce a visitor instead.