FdcTimeField class
Dataset field metadata for time-of-day values.
Time fields store and validate the time component independently of a calendar date.
- Inheritance
-
- Object
- FdcFieldDef
- FdcTimeField
Constructors
- FdcTimeField({required String name, String? label, bool required = false, bool isKey = false, FdcTime? defaultValue, FdcCalculatedFieldValue? calculatedValue, bool? persistent, FdcFieldValidator? validator, FdcFieldStorage storage = const FdcFieldStorage(), int scale = 7})
-
Creates a FdcTimeField.
const
Properties
- calculatedValue → FdcCalculatedFieldValue?
-
Optional expression used to derive this field from the current row.
finalinherited
- dataType → FdcDataType
-
Logical data type used for normalization, validation, filtering, and editors.
finalinherited
- defaultValue → Object?
-
Static default value or a zero-argument default factory.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCalculated → bool
-
True when the field value is derived by calculatedValue.
no setterinherited
- isKey → bool
-
Whether this field participates in the dataset record identity.
finalinherited
- isPersistent → bool
-
True when the field participates in persistence-oriented dataset output.
no setterinherited
- isReadOnly → bool
-
True when normal dataset editing must not write this field.
no setterinherited
- label → String?
-
Display label shown to the user.
finalinherited
- name → String
-
Original field name casing used for export/display metadata.
finalinherited
- persistent → bool?
-
Controls whether the field participates in persistence-oriented outputs
such as
FdcDataSet.changeSetandFdcDataSet.toMaps.finalinherited - required → bool
-
Whether null or empty values are rejected by built-in validation.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int
-
Fractional second scale, compatible with SQL Server
time(n).final - storage → FdcFieldStorage
-
Persistence/storage metadata consumed by adapters.
finalinherited
- validator → FdcFieldValidator?
-
Optional field-level validator executed after built-in validation.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validateSchema(
) → void -
Validates runtime schema invariants that cannot rely on debug-only asserts.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited