if (type == LinkType.ClassInstanceLink) {
l = new ClassInstanceLink(id, keyInfo);
} else if (type == LinkType.ColumnSubClassLink) {
l = new ColumnSubClassLink(id);
} else if (type == LinkType.DataPropertyLink) {
l = new DataPropertyLink(id, label);
} else if (type == LinkType.DataPropertyOfColumnLink) {
l = new DataPropertyOfColumnLink(id, hNodeId, specializedLinkId);
} else if (type == LinkType.ObjectPropertyLink) {
l = new ObjectPropertyLink(id, label, objectPropertyType);
} else if (type == LinkType.ObjectPropertySpecializationLink) {