Works now with superTables (DiscriminatorValue) for referenceds.
getName() returns now super.getName() if given and this.name is empty.