public function getQualifiedKeyName()
{
$pos = strpos($this->getTable(), '@');
if ($pos === false) {
return $this->getTable() . '.' . $this->getKeyName();
} else {
$table = substr($this->getTable(), 0, $pos);
$dbLink = substr($this->getTable(), $pos);
return $table . '.' . $this->getKeyName() . $dbLink;
}
}