/**
  * Gibt die GClass des Entities zurück welches sich in der Relation in diesem Property befindet
  * 
  * mach nur sinn wenn isRelation() TRUE ist
  * @return GClass
  */
 public function getRelationEntityClass()
 {
     if ($this->type instanceof PersistentCollectionType) {
         return $this->type->getType()->getGClass();
     } elseif ($this->type instanceof EntityType) {
         return $this->type->getGClass();
     }
 }