12 * Get the mapped class' name
18 * The the underlying table gateway
21 function getGateway();
24 * Get the mapped properties
25 * @return PropertyInterface[]
27 function getProperties();
30 * Add a property to map
31 * @param PropertyInterface $property
33 function addProperty(PropertyInterface
$property);
36 * Get all child rows by foreign key
38 * @param string $refName
39 * @param array $objects
42 function allOf(Row
$row, $refName, &$objects = null);
45 * Get the parent row by foreign key
47 * @param string $refName
48 * @param array $objects
51 function refOf(Row
$row, $refName, &$objects = null);
54 * Get the table relation reference
55 * @param MapInterface $map origin
56 * @param string $refName relations reference name
57 * @return Table\Reference
59 function relOf(MapInterface
$map, $refName);
62 * Map a row to an object
66 function map(Row
$row);
69 * Map a rowset to an array of objects
73 function mapAll(Rowset
$rows);
77 * @param object $object
80 function unmap($object);