16 * The foreign key name
22 * Define the referred class
23 * @param string $class
24 * @return RefPropertyInterface
27 $this->refClass
= $class;
32 * Check whether this mapping refers to $class
33 * @param string $class
36 function references($class) {
37 return $this->refClass
=== (is_object($class) ?
get_class($class) : $class);
41 * Define the foreign key name as defined by pq\Gateway\Table\Reference
43 * @return RefPropertyInterface
46 $this->refName
= $ref;
51 * Check whether this mapping referes to a foreign key
56 return $this->refName
=== $ref;