|
LuciadCPillar C# 2026.1.02
|
Represents a property of a DataType.
More...
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. | |
| override string | ToString () |
Static Public Member Functions | |
| static Luciad.Datamodels.DataProperty.Builder | NewBuilder () |
Creates a new DataProperty builder. | |
Properties | |
| System.Collections.Generic.IList< Luciad.Datamodels.DataAnnotation > | Annotations [get] |
| The annotations attached to this data property. | |
| Luciad.Datamodels.DataCollectionKind | CollectionKind [get] |
| The collection type of this data property. | |
| string | Name [get] |
| The name of the data property. | |
| Luciad.Datamodels.DataType | ValueType [get] |
| The type of the value of this data property. | |
Represents a property of a DataType.
A property has a name, a value type and a collection type. The value type indicates whether the value is a simple primitive or another data object. The collection type indicates whether the property holds a single value or a list of values of the value type (see DataCollectionKind).
Additional metadata can be attached to a property in the form of a DataAnnotation (see getAnnotations()).
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.
|
inline |
|
inline |
| other | another property |
|
inline |
Returns the hash code.
|
inlinestatic |
Creates a new DataProperty builder.
DataProperty builder.
|
inline |
|
get |
The annotations attached to this data property.
Returns the annotations attached to this data property.
|
get |
The collection type of this data property.
Returns the collection type of this data property. Defaults to DataCollectionKind.Scalar. A property built with DataCollectionKind.List holds a list of values of getValueType() rather than a single value.
|
get |
The name of the data property.
Returns the name of the data property.
|
get |
The type of the value of this data property.
Returns the type of the value of this data property. For a list-typed property (see getCollectionKind()), this is the type of the elements in the list.