LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Datamodels.DataPropertyPath Class Referencesealed

Describes the path to a DataProperty in a DataType. More...

Inheritance diagram for Luciad.Datamodels.DataPropertyPath:

Classes

class  Builder
 Builder that allows DataPropertyPath instances to be created. More...

Public Member Functions

Luciad.Datamodels.DataPropertyPath.Builder AsBuilder ()
 Returns a builder with the current data property path.
void Dispose ()
override bool Equals (object other)
override int GetHashCode ()
 Returns the hash code.
override string ToString ()

Static Public Member Functions

static Luciad.Datamodels.DataPropertyPath.Builder NewBuilder ()
 Creates a new builder.

Properties

Luciad.Datamodels.DataType OriginType [get]
 The type of data object that this path accesses.
Luciad.Datamodels.DataProperty TargetProperty [get]
 The property that this path points to (the property at the end of the path).
Luciad.Datamodels.DataCollectionKind ValueCollectionKind [get]
 The collection kind of the value that this path points to.
Luciad.Datamodels.DataType ValueType [get]
 The value type of the property that this path points to.

Detailed Description

Describes the path to a DataProperty in a DataType.

It can also describe paths to nested properties. The path is related to a specific DataType (its OriginType) and is used to address values in data objects of that type.

A path may also address values in list-typed properties (see DataCollectionKind):

  • Without an index step, it addresses the list.
  • With a Builder.Index step, it addresses a single list element.

ValueCollectionKind reports which shape the target property has.

Restrictions:

  • A path may cross at most one list (Builder.Index can be called at most once on a builder).
  • After a list-typed property step, the path must either be terminated or followed by Builder.Index. It cannot descend into the list's element type.
  • Builder.Index is terminal: no further property or index step may be added after it. Multi-level access into composite list elements is done by retrieving the element as a separate object and building a new path on that.

Member Function Documentation

◆ AsBuilder()

Luciad.Datamodels.DataPropertyPath.Builder Luciad.Datamodels.DataPropertyPath.AsBuilder ( )
inline

Returns a builder with the current data property path.

Returns
a builder with the current data property path.

◆ Dispose()

void Luciad.Datamodels.DataPropertyPath.Dispose ( )
inline

◆ Equals()

override bool Luciad.Datamodels.DataPropertyPath.Equals ( object other)
inline

◆ GetHashCode()

override int Luciad.Datamodels.DataPropertyPath.GetHashCode ( )
inline

Returns the hash code.

Returns
the hash code.

◆ NewBuilder()

Luciad.Datamodels.DataPropertyPath.Builder Luciad.Datamodels.DataPropertyPath.NewBuilder ( )
inlinestatic

Creates a new builder.

Returns
a new builder.

◆ ToString()

override string Luciad.Datamodels.DataPropertyPath.ToString ( )
inline

Property Documentation

◆ OriginType

Luciad.Datamodels.DataType Luciad.Datamodels.DataPropertyPath.OriginType
get

The type of data object that this path accesses.

[get]

Returns the type of data object that this path accesses.

◆ TargetProperty

Luciad.Datamodels.DataProperty Luciad.Datamodels.DataPropertyPath.TargetProperty
get

The property that this path points to (the property at the end of the path).

[get]

Returns the property that this path points to (the property at the end of the path). For a path with a terminal index step, this is the list property that the index applies to. For an empty path (origin type only, no property steps), this has no value.

Since
2026.1 [get]

◆ ValueCollectionKind

Luciad.Datamodels.DataCollectionKind Luciad.Datamodels.DataPropertyPath.ValueCollectionKind
get

The collection kind of the value that this path points to.

[get]

Returns the collection kind of the value that this path points to. The result reflects the kind of value:

  • Scalar for a path that points to a scalar property (including an element inside a list).
  • List for a path that points to a list.

Defaults to Scalar for empty paths (originType only).

Since
2026.1 [get]

◆ ValueType

Luciad.Datamodels.DataType Luciad.Datamodels.DataPropertyPath.ValueType
get

The value type of the property that this path points to.

[get]

Returns the value type of the property that this path points to. For a list-typed leaf (list or indexed element), this is the element type.