TXDataProperty Class
Base class for the properties of the structured types in the XData model.
Remarks
A property is either a scalar property, holding a single value like a string or a number, or a structured property (navigation property), which points to another structured type.
Syntax
Unit: XData.Model.Classes
TXDataProperty = class(TXDataModelObject);
Constructors
| Name | Description |
|---|---|
| Create | Creates a new property. |
Methods
| Name | Description |
|---|---|
| IsSimple | Returns True if the property is a scalar property. |
| QualifiedName | Returns the name of the property, qualified by the type it belongs to. |
Properties
| Name | Description |
|---|---|
| DocRequired | Gets or sets whether the property is flagged as required in the generated API documentation. |
| Name | Gets or sets the name of the property, as used in JSON and URLs. |
| Parent | Gets the structured type the property belongs to. |
| Required | Indicates whether the property requires a value. |
| TypeKind | Gets the kind of the type of the property value. |
| ValueType | Gets the type of the property value. |