| Methods |
public
|
__construct(
string $name,
TypeInterface $type,
bool $isCollection = false,
?TypeFacetsInterface $facets = null,
?string $defaultValue = null,
list<AnnotationInterface> $annotations = [],
)
|
#
|
public
|
getName(): string
The unqualified name of this element within its parent scope.
The unqualified name of this element within its parent scope.
Must conform to the OData SimpleIdentifier production rule:
a non-empty string of at most 128 characters, starting with
a letter or underscore, followed by letters, digits, or underscores.
Implements
|
#
|
public
|
getType(): TypeInterface
The resolved type of this property.
The resolved type of this property.
For collection-valued properties this is the type of each
individual element; use isCollection() to distinguish.
Implements
|
#
|
public
|
isCollection(): bool
Whether this property holds a collection of values rather
than a single value.
Whether this property holds a collection of values rather
than a single value.
Implements
|
#
|
public
|
getFacets(): ?TypeFacetsInterface
The facets constraining this property's type, or null when
no facets are declared beyond the type's own defaults.
The facets constraining this property's type, or null when
no facets are declared beyond the type's own defaults.
Implements
|
#
|
public
|
getDefaultValue(): ?string
The default value as declared in CSDL, represented as a string
in the property type's literal format. Null when absent.
The default value as declared in CSDL, represented as a string
in the property type's literal format. Null when absent.
Implements
|
#
|