public Role resourceRole(AttributeType<?> attributeType) { Role role = tx.putRole(namer.resourceRole(attributeType.getLabel())); attributeType.plays(role); return role; }
public Role entityRole(EntityType entityType, AttributeType<?> attributeType) { Role role = tx.putRole(namer.entityRole(attributeType.getLabel())); entityType.plays(role); return role; }