EntityMapping

public protocol EntityMapping

Undocumented

  • E

    Undocumented

    Declaration

    Swift

    associatedtype E : Entity
  • Undocumented

    Declaration

    Swift

    typealias Constraint = ConstraintType
  • ID

    Undocumented

    Declaration

    Swift

    typealias ID = IDMapping
  • Undocumented

    Declaration

    Swift

    typealias Field = FieldMapping
  • Undocumented

    Declaration

    Swift

    typealias Parent = ParentMapping
  • Undocumented

    Declaration

    Swift

    typealias Child = ChildMapping
  • Undocumented

    Declaration

    Swift

    typealias Sibling = SiblingMapping
  • entity Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var entity: E.Type { get }
  • table Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var table: String { get }
  • constraints Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var constraints: Set<Constraint> { get }
  • id Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var id: ID { get }
  • fields Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var fields: Set<Field> { get }
  • parents Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var parents: Set<Parent> { get }
  • children Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var children: Set<Child> { get }
  • siblings Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var siblings: Set<Sibling> { get }