TableRelationshipReferenceEntityTyped class
A TableRelationshipReference that explicitly defines the entity types of its relationship fields.
- sourceFieldEntityType represents the entity type of the sourceField.
- targetFieldEntityType represents the entity type of the targetField.
- Inheritance
-
- Object
- TableRelationshipReference
- TableRelationshipReferenceEntityTyped
Constructors
- TableRelationshipReferenceEntityTyped(String relationshipTable, String sourceTable, String sourceField, Type sourceFieldType, TypeInfo sourceFieldEntityType, String sourceRelationshipField, String targetTable, String targetField, Type targetFieldType, TypeInfo targetFieldEntityType, String targetRelationshipField, {String? relationshipField, String? sourceRelationshipFieldIndex, String? targetRelationshipFieldIndex})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- relationshipField → String?
-
The virtual/entity relationship field name.
finalinherited
- relationshipTable → String
-
The source table name.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceField → String
-
The source table field name.
finalinherited
- sourceFieldEntityType ↔ TypeInfo
-
The entity type of the sourceField.
getter/setter pair
- sourceFieldType → Type
-
The source table field type.
finalinherited
- sourceRelationshipField → String
-
The source relationship field name, int the relationshipTable.
finalinherited
- sourceRelationshipFieldIndex → String?
-
The index of the sourceRelationshipField
finalinherited
- sourceTable → String
-
The source table field name.
finalinherited
- targetField → String
-
The target table field name.
finalinherited
- targetFieldEntityType ↔ TypeInfo
-
The entity type of the targetField.
getter/setter pair
- targetFieldType → Type
-
The target table field type.
finalinherited
- targetRelationshipField → String
-
The target relationship field name, int the relationshipTable.
finalinherited
- targetRelationshipFieldIndex → String?
-
The index of the targetRelationshipField
finalinherited
- targetTable → String
-
The target table name.
finalinherited
Methods
-
copyWithEntityTypes(
TypeInfo sourceFieldEntityType, TypeInfo targetFieldEntityType) → TableRelationshipReferenceEntityTyped -
Returns a copy as TableRelationshipReference,
with entity types
sourceFieldEntityTypeandtargetFieldEntityType.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited