module Athena::ORM::Mapping::ClassInterface
#
The mapping metadata of an entity class, as returned by AORM::EntityManager#class_metadata.
Every implementation is an AORM::Mapping::Class, see it for the available information.
Direct including types
Athena::ORM::Mapping::Class(T)
Methods#
abstract #entity_class : AORM::Entity.class#
Returns the entity class this metadata describes.
abstract #field_mappings : Hash(String, Field)#
Returns the mappings of the fields mapped to a column with AORMA::Column, keyed by property name.
abstract #field_names : Hash(String, String)#
Maps each column name to the name of the field mapped to it.
abstract #identifier : Set(String)#
Returns the names of the fields making up the identifier.