FdcField class
Runtime accessor for a dataset field on the current record/edit buffer.
FdcFieldDef is schema metadata only. FdcField is the bound runtime
object returned by FdcDataSet.fieldByName, and owns value accessors such
as value, isNull, and the typed read views asString, asDecimal, etc.
Properties
- asBoolean → bool?
-
Read-only boolean view of value. Use value to write.
no setter
- asDate → DateTime?
-
Read-only date-only view of value. Use value to write.
no setter
- asDateTime → DateTime?
-
Read-only date-time view of value. Use value to write.
no setter
- asDecimal → FdcDecimal?
-
Read-only fixed-scale decimal view of value. Use value to write.
no setter
- asGuid → FdcGuid?
-
Read-only GUID view of value. Use value to write.
no setter
- asInteger → int?
-
Read-only integer view of value. Use value to write.
no setter
- asNum → num?
-
Numeric compatibility view for decimal values.
no setter
- asObject → Object?
-
Read-only object view of value. Use value to write.
no setter
- asString → String?
-
Read-only string view of value. Use value to write.
no setter
- asTime → FdcTime?
-
Read-only time view of value. Use value to write.
no setter
- dataType → FdcDataType
-
Schema data type from definition; this describes field metadata, not the
runtime value type of one record.
no setter
- defaultValue → Object?
-
Schema default from definition, applied by dataset insert initialization
where supported.
no setter
- definition → FdcFieldDef
-
Schema/metadata definition behind this runtime field accessor.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCalculated → bool
-
True when this field is backed by a calculated field definition.
no setter
- isNull → bool
-
Whether value is currently null on the dataset current record.
no setter
- isPersistent → bool
-
True when this field participates in persistence-oriented dataset output.
no setter
- label → String?
-
Optional schema label from definition used by controls and validation
UI.
no setter
- name → String
-
Schema field name from definition; it does not vary with record
navigation.
no setter
- persistent → bool?
-
Optional persistence override from definition;
nullkeeps the field type's default persistence policy.no setter - required → bool
-
Schema-required flag from definition, used by built-in validation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ Object?
-
Current value from the dataset current record/edit buffer.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited