FDO API Reference Feature Data Objects

DataPropertyDefinition Class Reference

List of all members.

Detailed Description

The FdoDataPropertyDefinition class derives from FdoPropertyDefinition and represents simple values or collections of simple values. FdoDataPropertyDefinitions can take on any of the data types listed in the FdoDataType enumeration.


Public Member Functions

 DataPropertyDefinition (System::IntPtr unmanaged, System::Boolean autoDelete)
 DataPropertyDefinition (System::String *name, System::String *description, System::Boolean system)
 DataPropertyDefinition (System::String *name, System::String *description)
 Constructs an instance of an FdoDataPropertyDefinition using the specified arguments.
 DataPropertyDefinition ()
 Constructs a default instance of an FdoDataPropertyDefinition.
__property NAMESPACE_OSGEO_FDO_SCHEMA::DataType get_DataType ()
 Gets the FdoDataType of this property.
__property System::String * get_DefaultValue ()
 Gets the default value for this property. The default value is used when an instance of the containing class is created without specifying a value for this property.
__property System::Boolean get_IsAutoGenerated ()
 Returns a Boolean value that indicates if this is an autogenerated property.
__property System::Int32 get_Length ()
 Gets the length of a String, BLOB, or CLOB data property. This value does not apply to any other FdoDataType.
__property System::Boolean get_Nullable ()
 Returns a Boolean value that indicates if this property's value can be null.
__property System::Int32 get_Precision ()
 Gets the precision (total number of digits) of a decimal data property. This value does not apply to any other FdoDataType.
__property NAMESPACE_OSGEO_FDO_SCHEMA::PropertyType get_PropertyType ()
 Gets the concrete property type.
__property System::Boolean get_ReadOnly ()
 Returns a Boolean value that indicates if this property is read-only.
__property System::Int32 get_Scale ()
 Gets the scale (number of digits to the right of the decimal point) of a decimal data property. This value does not apply to any other FdoDataType.
__property NAMESPACE_OSGEO_FDO_SCHEMA::PropertyValueConstraint * get_ValueConstraint ()
 Returns the value constraint of this data property.
__property System::Void set_DataType (NAMESPACE_OSGEO_FDO_SCHEMA::DataType value)
 Sets the FdoDataType of this property.
__property System::Void set_DefaultValue (System::String *value)
 Sets the default value for this property. The default value is used when an instance of the containing class is created without specifying a value for this property.
__property System::Void set_IsAutoGenerated (System::Boolean value)
 Sets a Boolean value that indicates if this is an autogenerated property.
__property System::Void set_Length (System::Int32 value)
 Sets the length of a String, BLOB, or CLOB data property. This value is ignored for all other FdoDataType values.
__property System::Void set_Nullable (System::Boolean value)
 Sets a Boolean value that indicates if this property's value can be null.
__property System::Void set_Precision (System::Int32 value)
 Sets the precision (total number of digits) of a decimal data property. This value is ignored for all other FdoDataType values.
__property System::Void set_ReadOnly (System::Boolean value)
 Sets a Boolean value that indicates if this property is read-only.
__property System::Void set_Scale (System::Int32 value)
 Sets the scale (number of digits to the right of the decimal point) of a decimal data property. This value is ignored for all other FdoDataType values.
__property System::Void set_ValueConstraint (NAMESPACE_OSGEO_FDO_SCHEMA::PropertyValueConstraint *value)
 Sets the value constraint of this data property.

Comments or suggestions? Send us feedback.