Property
Encapsulates the metadata of an OData structural or navigation property. Used for properties of complex and entity types.
Inheritors
Properties
Link copied to clipboard
Foreign keys for this navigation property exist on the source side of the relationship.
Link copied to clipboard
Foreign keys for this navigation property exist on the target side of the relationship.
Link copied to clipboard
There are no foreign keys for this navigation property.
Link copied to clipboard
Related entities will be deleted if the source entity is deleted.
Link copied to clipboard
A delete request on a source entity with related entities will fail.
Link copied to clipboard
All properties of related entities that are tied to properties of the source entity via a referential constraint and that do not participate in other referential constraints will be set to their default value.
Link copied to clipboard
All properties of related entities that are tied to properties of the source entity via a referential constraint and that do not participate in other referential constraints will be set to
null.Functions
Link copied to clipboard
Return
this property object without copying (DataValue.copyMutable does not need to copy metadata objects).Link copied to clipboard
Return the name of this property, with dot-separated path segments if Property.hasKeyPath is true.
Link copied to clipboard
Return when this property is persisted, and it has complex type, can it be flattened into separate columns?
Link copied to clipboard
Lookup an existing annotation by term name, or throw an exception if the annotation is not found.
Link copied to clipboard
Return obsolete.
Link copied to clipboard
Return obsolete.
Link copied to clipboard
Return map of annotations for this model element.
Link copied to clipboard
@NotNull
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return can this model element be removed by
DataService.refreshMetadata.Link copied to clipboard
Return (nullable) A database-level column default for this property.
Link copied to clipboard
Return (nullable) Database column type for this property.
Link copied to clipboard
@NotNull
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
Get the value of this property from a structure.
Link copied to clipboard
Return if this property has a complex type, then return it.
Link copied to clipboard
Return if this property is a navigation property, then does it contain its target?
Link copied to clipboard
Return (nullable) Path for customized property-to-element mapping.
Link copied to clipboard
Return data type of the property.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return (nullable) Default value for this item.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return percent-encoded Property.name.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
Get the value of this property from a structure.
Link copied to clipboard
Return if this property has an entity type, then return it.
Link copied to clipboard
Return if this property has an enum type, then return it.
Link copied to clipboard
Return
true if this item has fixed length for string and binary values.Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return if this property is a list with complex item type, then return it.
Link copied to clipboard
Return if this property is a list with entity item type, then return it.
Link copied to clipboard
Return if this property is a list with structure item type, then return it.
Link copied to clipboard
Return if this property has a list type, then return it.
Link copied to clipboard
Return custom JSON field for request/response payload (e.g.
Link copied to clipboard
Return if Property.hasKeyPath is true, then the key path.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return maximum length for
string and binary values.Link copied to clipboard
Return minimum length for
string and binary values.Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
Get the value of this property from a structure.
Link copied to clipboard
Return if this property is a navigation property, then the action upon deletion of the source entity.
Link copied to clipboard
@Nullable
For internal use only.
Link copied to clipboard
Return name of type that owns this property.
Link copied to clipboard
Return (nullable) If this property is a navigation property with a defined partner property, then the path of the partner.
Link copied to clipboard
Return precision for
decimal and integer values.Link copied to clipboard
Return true if the property value is text which can be pretty printed in CSDL documents (preserving relative indentation of lines but shifted for context).
Link copied to clipboard
Return owning type name, forward slash, then property name, e.g.
Link copied to clipboard
Return if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
Link copied to clipboard
Return returns Property.complexType or Property.itemComplexType, if one of them is applicable to this property.
Link copied to clipboard
Return returns Property.entityType or Property.itemEntityType, if one of them is applicable to this property.
Link copied to clipboard
Return returns Property.relatedComplexType or Property.relatedEntityType, if one of them is applicable to this property.
Link copied to clipboard
@NotNull
For internal use only.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return source line number for this schema element within its defining schema.
Link copied to clipboard
@NotNull
Get the stream link for this property from a structure.
Link copied to clipboard
Return if this property has a structure (complex/entity) type, then return it.
Link copied to clipboard
For internal use only.
Link copied to clipboard
Return synonym for Property.
Link copied to clipboard
Get the value of this property from a structure.
Link copied to clipboard
Return a value for this property can be provided by the client on insert.
Link copied to clipboard
Return if this property is a navigation property, then where are foreign keys found.
Link copied to clipboard
Return
true if this property represents a key path, i.e.Link copied to clipboard
Return
true if this is a collection-typed property.Link copied to clipboard
Return
true if this is a list-typed property with complex item type.Link copied to clipboard
Return
true if this is a list-typed property with entity item type.Link copied to clipboard
Return
true if this property was added since metadata was originally loaded.Link copied to clipboard
Return
true if this property is a foreign key, or part of a composite foreign key.Link copied to clipboard
Return if Property.isKey is
true and Property.isForeignKey is false, then isGeneratedKey defaults to true.Link copied to clipboard
Return
true if this property is immutable (non-updatable after insert).Link copied to clipboard
Return
true if this is a navigation property.Link copied to clipboard
Return
true if this item is nullable.Link copied to clipboard
Return
true if this property is used for optimistic concurrency control (part of entity tag).Link copied to clipboard
Return
true if this property is persistent (stored in the local database when offline).Link copied to clipboard
Return
true if this is a structural property.Link copied to clipboard
Return
true if this is a property with structure type.Link copied to clipboard
Return
true if this is a list-typed property with structure item type.Link copied to clipboard
Return was this property synthesized, e.g.
Link copied to clipboard
Set when this property is persisted, and it has complex type, can it be flattened into separate columns?
Link copied to clipboard
open fun setBasicList(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull DataValueList)
Set the value of this property in a structure.
Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
Set can this model element be removed by
DataService.refreshMetadata.Link copied to clipboard
Set a value for this property can be provided by the client on insert.
Set a database-level column default for this property.
Link copied to clipboard
Set database column type for this property.
Link copied to clipboard
open fun setComplex(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull ComplexValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setComplexList(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull ComplexValueList)
Set the value of this property in a structure.
Link copied to clipboard
Set if this property is a navigation property, then does it contain its target?
Link copied to clipboard
Set path for customized property-to-element mapping.
Link copied to clipboard
open fun setDecimal(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull BigDecimal)
Set the value of this property in a structure.
Link copied to clipboard
Set default value for this item.
Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
open fun setEntity(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull EntityValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setEntityList(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull EntityValueList)
Set the value of this property in a structure.
Link copied to clipboard
Set
true if this property was added since metadata was originally loaded.Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
Set
true if this property is a foreign key, or part of a composite foreign key.Link copied to clipboard
Set if this property is a navigation property, then where are foreign keys found.
Link copied to clipboard
Set if Property.isKey is
true and Property.isForeignKey is false, then isGeneratedKey defaults to true.Link copied to clipboard
Set
true if this property is immutable (non-updatable after insert).Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
open fun setInteger(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull BigInteger)
Set the value of this property in a structure.
Link copied to clipboard
Set custom JSON field for request/response payload (e.g.
Link copied to clipboard
Set
true if this property represents a key path, i.e.Set if Property.hasKeyPath is true, then the key path.
Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
Set maximum length for
string and binary values.Link copied to clipboard
Set minimum length for
string and binary values.Link copied to clipboard
Set
true if this item is nullable.Link copied to clipboard
open fun setNullableBinary(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: Array<Byte>)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableBoolean(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Boolean)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableByte(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Byte)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableComplex(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable ComplexValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableDecimal(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable BigDecimal)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableDouble(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Double)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableEntity(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable EntityValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableEnum(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable EnumValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableFloat(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Float)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableGuid(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable GuidValue)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableInt(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Integer)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableInteger(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable BigInteger)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableLong(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Long)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableShort(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Short)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableString(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable String)
Set the value of this property in a structure.
Link copied to clipboard
open fun setNullableUnsignedByte(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable Integer)
Set the value of this property in a structure.
Link copied to clipboard
Set if this property is a navigation property, then the action upon deletion of the source entity.
Link copied to clipboard
Set
true if this property is used for optimistic concurrency control (part of entity tag).Link copied to clipboard
Set name of type that owns this property.
Link copied to clipboard
Set if this property is a navigation property with a defined partner property, then the path of the partner.
Link copied to clipboard
Set precision for
decimal and integer values.Link copied to clipboard
Set true if the property value is text which can be pretty printed in CSDL documents (preserving relative indentation of lines but shifted for context).
Link copied to clipboard
Set if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
Link copied to clipboard
Set has this model element been removed by a successful call to
DataService.refreshMetadata?Link copied to clipboard
Set the value of this property in a structure.
Link copied to clipboard
Set source line number for this schema element within its defining schema.
Link copied to clipboard
Set was this property synthesized, e.g.
Link copied to clipboard
For internal use only.
Link copied to clipboard
Set
true if this item allows Unicode content.Link copied to clipboard
Set the value of this property in a structure.