EntityInspectable

public protocol EntityInspectable

Protocol used in generated code to provide metadata required by ObjectBox.

The code generator will make your entity types conform to this and implement the requirements.

  • The type of the generated EntityBinding-conformant class used for serializing and de-serializing this entity.

    Declaration

    Swift

    associatedtype EntityBindingType : EntityBinding
  • Description of the entity type used by ObjectBox to map objects to data in the store.

    Declaration

    Swift

    static var entityInfo: EntityInfo { get }
  • Helper object used for serializing/deserializing entities.

    Declaration

    Swift

    static var entityBinding: EntityBindingType { get }