final |
|---|
readonly |
A path expression as an annotation value: the value is read per instance from the property the path names, not fixed in the annotation.
#[ISOCurrency(new Path('currency'))] public string $amount { … }
serializes as <Annotation Term="Org.OData.Measures.V1.ISOCurrency" Path="currency"/>.
Every generated vocabulary term with a primitive value accepts one in place of a
constant — UI5 resolves currencies, units, texts and code-list scales this way.
| Methods | ||
|---|---|---|
public
|
__construct(string $path)
|
# |
public
|
toAnnotationValue(): AnnotationValueInterface
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$path
|
# |