Property

Encapsulates the metadata of an OData structural or navigation property. Used for properties of complex and entity types.

Inheritors

Constructors

Link copied to clipboard
constructor()

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
@NotNull
open fun atIndex(itemIndex: Int): @NotNull DataPath
Return a new data path from this property to an item at the specified index.
Link copied to clipboard
@NotNull
open fun copyMutable(): @NotNull DataValue
Return this property object without copying (DataValue.copyMutable does not need to copy metadata objects).
Link copied to clipboard
@NotNull
open fun dotString(): @NotNull String
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
@NotNull
open fun getAnnotation(@NonNull @NotNull term: @NotNull String): @NotNull Annotation
Lookup an existing annotation by term name, or throw an exception if the annotation is not found.
Link copied to clipboard
@NotNull
open fun getAnnotationList(): @NotNull AnnotationList
Return obsolete.
Link copied to clipboard
@NotNull
open fun getAnnotationMap(): @NotNull AnnotationMap
Return obsolete.
Link copied to clipboard
@NotNull
open fun getAnnotations(): @NotNull AnnotationMap
Return map of annotations for this model element.
Link copied to clipboard
@NotNull
open fun getBasicList(@NonNull @NotNull source: @NotNull StructureBase): @NotNull DataValueList
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getBinary(@NonNull @NotNull source: @NotNull StructureBase): Array<Byte>
Get the value of this property from a structure.
Link copied to clipboard
open fun getBoolean(@NonNull @NotNull source: @NotNull StructureBase): Boolean
Get the value of this property from a structure.
Link copied to clipboard
open fun getByte(@NonNull @NotNull source: @NotNull StructureBase): Byte
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
@Nullable
fun getColumn(): @Nullable String
Return (nullable) Database column name for this property.
Link copied to clipboard
@Nullable
fun getColumnDefault(): @Nullable String
Return (nullable) A database-level column default for this property.
Link copied to clipboard
@Nullable
fun getColumnType(): @Nullable String
Return (nullable) Database column type for this property.
Link copied to clipboard
@NotNull
open fun getComplex(@NonNull @NotNull source: @NotNull StructureBase): @NotNull ComplexValue
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getComplexList(@NonNull @NotNull source: @NotNull StructureBase): @NotNull ComplexValueList
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getComplexType(): @NotNull ComplexType
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
@Nullable
fun getCustomPath(): @Nullable CustomPath
Return (nullable) Path for customized property-to-element mapping.
Link copied to clipboard
@NotNull
open fun getDataType(): @NotNull DataType
Return data type of the property.
Link copied to clipboard
@NotNull
open fun getDecimal(@NonNull @NotNull source: @NotNull StructureBase): @NotNull BigDecimal
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
fun getDefaultValue(): @Nullable DataValue
Return (nullable) Default value for this item.
Link copied to clipboard
open fun getDouble(@NonNull @NotNull source: @NotNull StructureBase): Double
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getEncodedName(): @NotNull String
Return percent-encoded Property.name.
Link copied to clipboard
@NotNull
open fun getEntity(@NonNull @NotNull source: @NotNull StructureBase): @NotNull EntityValue
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getEntityList(@NonNull @NotNull source: @NotNull StructureBase): @NotNull EntityValueList
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getEntityType(): @NotNull EntityType
Return if this property has an entity type, then return it.
Link copied to clipboard
@NotNull
open fun getEnum(@NonNull @NotNull source: @NotNull StructureBase): @NotNull EnumValue
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getEnumType(): @NotNull EnumType
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
open fun getFloat(@NonNull @NotNull source: @NotNull StructureBase): Float
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getGuid(@NonNull @NotNull source: @NotNull StructureBase): @NotNull GuidValue
Get the value of this property from a structure.
Link copied to clipboard
fun getId(): Int
Return zero-based index for this property within its parent type definition.
Link copied to clipboard
open fun getInt(@NonNull @NotNull source: @NotNull StructureBase): Int
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getInteger(@NonNull @NotNull source: @NotNull StructureBase): @NotNull BigInteger
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getItemComplexType(): @NotNull ComplexType
Return if this property is a list with complex item type, then return it.
Link copied to clipboard
@NotNull
open fun getItemEntityType(): @NotNull EntityType
Return if this property is a list with entity item type, then return it.
Link copied to clipboard
@NotNull
open fun getItemStructureType(): @NotNull StructureType
Return if this property is a list with structure item type, then return it.
Link copied to clipboard
@NotNull
open fun getItemType(): @NotNull DataType
Return if this property has a list type, then return it.
Link copied to clipboard
@NotNull
fun getJsonField(): @NotNull String
Return custom JSON field for request/response payload (e.g.
Link copied to clipboard
@NotNull
fun getKeyPath(): @NotNull DataPath
Return if Property.hasKeyPath is true, then the key path.
Link copied to clipboard
@NotNull
open fun getLabel(): @NotNull String
Return label for this property.
Link copied to clipboard
open fun getLong(@NonNull @NotNull source: @NotNull StructureBase): Long
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
@NotNull
fun getName(): @NotNull String
Return name of the property.
Link copied to clipboard
@Nullable
open fun getNullableBinary(@NonNull @NotNull source: @NotNull StructureBase): Array<Byte>
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableBoolean(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Boolean
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableByte(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Byte
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableComplex(@NonNull @NotNull source: @NotNull StructureBase): @Nullable ComplexValue
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableDecimal(@NonNull @NotNull source: @NotNull StructureBase): @Nullable BigDecimal
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableDouble(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Double
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableEntity(@NonNull @NotNull source: @NotNull StructureBase): @Nullable EntityValue
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableEnum(@NonNull @NotNull source: @NotNull StructureBase): @Nullable EnumValue
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableFloat(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Float
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableGuid(@NonNull @NotNull source: @NotNull StructureBase): @Nullable GuidValue
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableInt(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Integer
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableInteger(@NonNull @NotNull source: @NotNull StructureBase): @Nullable BigInteger
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableLong(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Long
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableShort(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Short
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableString(@NonNull @NotNull source: @NotNull StructureBase): @Nullable String
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getNullableUnsignedByte(@NonNull @NotNull source: @NotNull StructureBase): @Nullable Integer
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
open fun getOptionalValue(@NonNull @NotNull source: @NotNull StructureBase): @Nullable DataValue
For internal use only.
Link copied to clipboard
@NotNull
fun getOwningType(): @NotNull String
Return name of type that owns this property.
Link copied to clipboard
@Nullable
open fun getPartnerPath(): @Nullable String
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
@NotNull
open fun getQualifiedName(): @NotNull String
Return owning type name, forward slash, then property name, e.g.
Link copied to clipboard
@NotNull
open fun getReferentialConstraints(): @NotNull StringMap
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
@NotNull
open fun getRelatedComplexType(): @NotNull ComplexType
Return returns Property.complexType or Property.itemComplexType, if one of them is applicable to this property.
Link copied to clipboard
@NotNull
open fun getRelatedEntityType(): @NotNull EntityType
Return returns Property.entityType or Property.itemEntityType, if one of them is applicable to this property.
Link copied to clipboard
@NotNull
open fun getRelatedStructureType(): @NotNull StructureType
Return returns Property.relatedComplexType or Property.relatedEntityType, if one of them is applicable to this property.
Link copied to clipboard
@NotNull
open fun getRequiredValue(@NonNull @NotNull source: @NotNull StructureBase): @NotNull DataValue
For internal use only.
Link copied to clipboard
fun getScale(): Int
Return scale for decimal values.
Link copied to clipboard
open fun getShort(@NonNull @NotNull source: @NotNull StructureBase): Short
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
fun getSrid(): Int
Return EPSG Spatial Reference System Identifier (SRID) for the associated value.
Link copied to clipboard
@NotNull
open fun getStreamLink(@NonNull @NotNull source: @NotNull StructureBase): @NotNull StreamLink
Get the stream link for this property from a structure.
Link copied to clipboard
@NotNull
open fun getString(@NonNull @NotNull source: @NotNull StructureBase): @NotNull String
Get the value of this property from a structure.
Link copied to clipboard
@NotNull
open fun getStructureType(): @NotNull StructureType
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
@NotNull
fun getType(): @NotNull DataType
Return synonym for Property.
Link copied to clipboard
Return synonym for Property.
Link copied to clipboard
open fun getUnsignedByte(@NonNull @NotNull source: @NotNull StructureBase): Int
Get the value of this property from a structure.
Link copied to clipboard
@Nullable
open fun getValue(@NonNull @NotNull source: @NotNull StructureBase): @Nullable DataValue
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
open fun hasForeignKeys(): Int
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
open fun isBinary(): Boolean
Return true if this property has a binary type.
Link copied to clipboard
open fun isCollection(): Boolean
Return true if this is a collection-typed property.
Link copied to clipboard
open fun isComplex(): Boolean
Return true if this is a property with complex type.
Link copied to clipboard
Return true if this is a list-typed property with complex item type.
Link copied to clipboard
open fun isEntity(): Boolean
Return true if this is a property with entity type.
Link copied to clipboard
open fun isEntityList(): Boolean
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
open fun isImmutable(): Boolean
Return true if this property is immutable (non-updatable after insert).
Link copied to clipboard
fun isKey(): Boolean
Return true if this property is the primary key, or part of a composite primary key.
Link copied to clipboard
open fun isNavigation(): Boolean
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
open fun isPersistent(): Boolean
Return true if this property is persistent (stored in the local database when offline).
Link copied to clipboard
Return has this model element been removed by a successful call to DataService.refreshMetadata?
Link copied to clipboard
open fun isStream(): Boolean
Return true if this property has a stream type.
Link copied to clipboard
open fun isStructural(): Boolean
Return true if this is a structural property.
Link copied to clipboard
open fun isStructure(): Boolean
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
Return true if this item allows Unicode content.
Link copied to clipboard
@NotNull
open fun path(@NonNull @NotNull child: @NotNull Property): @NotNull DataPath
Return a new data path from this property to a child property.
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
open fun setBinary(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: Array<Byte>)
Set the value of this property in a structure.
Link copied to clipboard
open fun setBoolean(@NonNull @NotNull target: @NotNull StructureBase, value: Boolean)
Set the value of this property in a structure.
Link copied to clipboard
open fun setByte(@NonNull @NotNull target: @NotNull StructureBase, value: Byte)
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
fun setColumn(@Nullable @Nullable value: @Nullable String)
Set database column name for this property.
Link copied to clipboard
Set a value for this property can be provided by the client on insert.
fun setColumnDefault(@Nullable @Nullable value: @Nullable String)
Set a database-level column default for this property.
Link copied to clipboard
fun setColumnType(@Nullable @Nullable value: @Nullable String)
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
open fun setContainsTarget(value: Boolean)
Set if this property is a navigation property, then does it contain its target?
Link copied to clipboard
fun setCustomPath(@Nullable @Nullable value: @Nullable CustomPath)
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
fun setDefaultValue(@Nullable @Nullable value: @Nullable DataValue)
Set default value for this item.
Link copied to clipboard
open fun setDouble(@NonNull @NotNull target: @NotNull StructureBase, value: Double)
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
open fun setEnum(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull EnumValue)
Set the value of this property in a structure.
Link copied to clipboard
fun setExtension(value: Boolean)
Set true if this property was added since metadata was originally loaded.
Link copied to clipboard
open fun setFloat(@NonNull @NotNull target: @NotNull StructureBase, value: Float)
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
open fun setForeignKeys(value: Int)
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
open fun setGuid(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull GuidValue)
Set the value of this property in a structure.
Link copied to clipboard
fun setId(value: Int)
Set zero-based index for this property within its parent type definition.
Link copied to clipboard
open fun setImmutable(value: Boolean)
Set true if this property is immutable (non-updatable after insert).
Link copied to clipboard
open fun setInt(@NonNull @NotNull target: @NotNull StructureBase, value: Int)
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
fun setJsonField(@NonNull @NotNull value: @NotNull String)
Set custom JSON field for request/response payload (e.g.
Link copied to clipboard
fun setKey(value: Boolean)
Set true if this property is the primary key, or part of a composite primary key.
Link copied to clipboard
fun setKeyPath(value: Boolean)
Set true if this property represents a key path, i.e.
fun setKeyPath(@NonNull @NotNull value: @NotNull DataPath)
Set if Property.hasKeyPath is true, then the key path.
Link copied to clipboard
open fun setLabel(@NonNull @NotNull value: @NotNull String)
Set label for this property.
Link copied to clipboard
open fun setLong(@NonNull @NotNull target: @NotNull StructureBase, value: Long)
Set the value of this property in a structure.
Link copied to clipboard
fun setMaxLength(value: Int)
Set maximum length for string and binary values.
Link copied to clipboard
fun setMinLength(value: Int)
Set minimum length for string and binary values.
Link copied to clipboard
fun setName(@NonNull @NotNull value: @NotNull String)
Set name of the property.
Link copied to clipboard
fun setNullable(value: Boolean)
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
open fun setOnDeleteAction(value: Int)
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
fun setOwningType(@NonNull @NotNull value: @NotNull String)
Set name of type that owns this property.
Link copied to clipboard
open fun setPartnerPath(@Nullable @Nullable value: @Nullable String)
Set if this property is a navigation property with a defined partner property, then the path of the partner.
Link copied to clipboard
fun setPrecision(value: Int)
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
open fun setReferentialConstraints(@NonNull @NotNull value: @NotNull StringMap)
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
fun setRemoved(value: Boolean)
Set has this model element been removed by a successful call to DataService.refreshMetadata?
Link copied to clipboard
fun setScale(value: Int)
Set scale for decimal values.
Link copied to clipboard
open fun setShort(@NonNull @NotNull target: @NotNull StructureBase, value: Short)
Set the value of this property in a structure.
Link copied to clipboard
fun setSourceLine(value: Int)
Set source line number for this schema element within its defining schema.
Link copied to clipboard
fun setSrid(value: Int)
Set EPSG Spatial Reference System Identifier (SRID) for the associated value.
Link copied to clipboard
open fun setString(@NonNull @NotNull target: @NotNull StructureBase, @NonNull @NotNull value: @NotNull String)
Set the value of this property in a structure.
Link copied to clipboard
Set was this property synthesized, e.g.
Link copied to clipboard
fun setSystemFlags(value: Int)
For internal use only.
Link copied to clipboard
fun setType(@NonNull @NotNull value: @NotNull DataType)
Set synonym for Property.
Link copied to clipboard
fun setUnicode(value: Boolean)
Set true if this item allows Unicode content.
Link copied to clipboard
open fun setUnsignedByte(@NonNull @NotNull target: @NotNull StructureBase, value: Int)
Set the value of this property in a structure.
Link copied to clipboard
open fun setValue(@NonNull @NotNull target: @NotNull StructureBase, @Nullable @Nullable value: @Nullable DataValue)
Set the value of this property in a structure.
Link copied to clipboard
@NotNull
open fun toPath(): @NotNull DataPath
Return this property or path, expressed as a DataPath.
Link copied to clipboard
@NotNull
open fun toString(): @NotNull String
Convert this data value to a string.
Link copied to clipboard
@NotNull
open fun unwrap(): @NotNull DataValue
Return the path, property, constant value or query function/operator call which is wrapped by this object.
Link copied to clipboard
@NotNull
open fun urlString(): @NotNull String
Return the name of this property, percent-encoded for use in a URL.
Link copied to clipboard
@NotNull
open fun withKey(@NonNull @NotNull entityKey: @NotNull EntityKey): @NotNull DataPath
Return a new data path from this property to an item with the specified key.