AttributeSet attributes = AttributeSet.createFrom(n);
/*
* If we would set an alias to this table...
*/
if (attributes != null) {
AliasMap amap = (AliasMap)(nodeSets.relationAliases().get(nameVar));
RelationName originalName = amap.originalOf(attributes.relationName);
if (r.baseRelation().aliases().hasAlias(originalName)) {
/*
* ... and indexes are in place to guarantee uniqueness of the attribute combination...