LuciadCPillar C# 2024.0.02
Luciad.Datamodels.DataProperty Class Reference

Represents a property of a DataType. More...

Inheritance diagram for Luciad.Datamodels.DataProperty:

Classes

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

Public Member Functions

void Dispose ()
 
override bool Equals (object other)
 
override int GetHashCode ()
 Returns the hash code. More...
 
override string ToString ()
 

Static Public Member Functions

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

Properties

string Name [get]
 The name of the data property. More...
 
Luciad.Datamodels.DataType ValueType [get]
 The type of the value of this data property. More...
 

Detailed Description

Represents a property of a DataType.

A property has a name and a value type. The value type indicates whether the value is a simple primitive or another data object.

New properties can be defined using a DataProperty.Builder (see newBuilder()).

Instances of this class are thread safe. Once an instance has been created, there is no public API to modify it.

Member Function Documentation

◆ Dispose()

void Luciad.Datamodels.DataProperty.Dispose ( )
inline

◆ Equals()

override bool Luciad.Datamodels.DataProperty.Equals ( object  other)
inline
Parameters
otheranother property
Returns
whether this and other have the same name and value type.

◆ GetHashCode()

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

Returns the hash code.

Returns
the hash code.

◆ NewBuilder()

static Luciad.Datamodels.DataProperty.Builder Luciad.Datamodels.DataProperty.NewBuilder ( )
inlinestatic

Creates a new DataProperty builder.

Returns
a new DataProperty builder.

◆ ToString()

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

Property Documentation

◆ Name

string Luciad.Datamodels.DataProperty.Name
get

The name of the data property.

[get]

Returns the name of the data property.

◆ ValueType

Luciad.Datamodels.DataType Luciad.Datamodels.DataProperty.ValueType
get

The type of the value of this data property.

[get]

Returns the type of the value of this data property.