Record Class TsvRelation<T>

java.lang.Object
java.lang.Record
net.tangly.gleam.model.TsvRelation<T>
Type Parameters:
T - class of the owned entity
Record Components:
ownerId - identifier of the owner entity. It is stored as a foreign key in the TSV file
ownedEntity - the entity owned through the relation

public record TsvRelation<T>(long ownerId, T ownedEntity) extends Record
Model an one to multiple relation.