Interface LaravelUi5\OData\Edm\Contracts\AnnotatableInterface

Contract for every model element that may carry annotations.

In CSDL virtually every construct — types, properties, container members, parameters, the schema itself — is annotatable. This interface is mixed in wherever the spec permits annotations.

The annotation representation is intentionally simplified at this stage and will be refined collaboratively once the structural interfaces are complete.

Term names in annotations are always stored in fully qualified form, e.g. "com.sap.vocabularies.UI.v1.LineItem" rather than "UI.LineItem". The builder is responsible for resolving aliases to their full namespace before storing. Implementations of getAnnotation() must accept both alias-qualified and fully qualified term names as input and resolve aliases against the schema's declared namespace map before matching.

Methods