12 * Get the mapped class' name
18 * Get the object manager
19 * @return ObjectManager
21 function getObjects();
24 * The the underlying table gateway
27 function getGateway();
30 * Get the mapped properties
31 * @return PropertyInterface[]
33 function getProperties();
36 * Add a property to map
37 * @param PropertyInterface $property
39 function addProperty(PropertyInterface
$property);
42 * Get all child rows by foreign key
44 * @param string $refName
45 * @param array $objects
48 function allOf(Row
$row, $refName, &$objects = null);
51 * Get the parent row by foreign key
53 * @param string $refName
54 * @param array $objects
57 function refOf(Row
$row, $refName, &$objects = null);
60 * Get the table relation reference
61 * @param MapInterface $map origin
62 * @param string $refName relations reference name
63 * @return Table\Reference
65 function relOf(MapInterface
$map, $refName);
68 * Map a row to an object
72 function map(Row
$row);
75 * Map a rowset to an array of objects
79 function mapAll(Rowset
$rows);
83 * @param object $object
86 function unmap($object);