Data Type
A data type provides the ability to assign different data types to attributes (such as string, boolean, etc.).
public class CdmDataTypeDefinition extends CdmObjectDefinitionBase
CdmDataTypeDefinition extends CdmObjectDefinition in Python.
Constructors
Name | Description |
---|---|
CdmDataTypeDefinition(CdmCorpusContext, string, CdmDataTypeReference) ctx: The corpus context. dataTypeName: The data type's name. extendsDataType [optional]: The data type extended by this data type. |
Initializes a new instance of the CdmDataTypeDefinition class. |
Properties
Name | Type | Description |
---|---|---|
DataTypeName | string | The data type's name. |
ExtendsDataType | CdmDataTypeReference? | The data type extended by this data type. |
Methods
Name | Description | Return Type |
---|---|---|
GetName() | See CdmObjectDefinition.GetName(). | string |
IsDerivedFrom(string, ResolveOptions) | See CdmObject.IsDerivedFrom(...). | bool |
Copy(ResolveOptions, CdmObject) | See CdmObject.Copy(...). | CdmObject |
Validate() | See CdmObject.Validate(). | bool |