}
}
@Override
public void addParent(RegistryItem parent) throws RegistryContentException {
if (this.equals(parent) || children.values().contains(parent)) throw new IllegalRegistryCycleException(
this, parent, RegistryOperation.ADD_PARENT);
if (!parents.values().contains(parent)) {
parents.put(parent.getIRI(), parent);
try {
parent.addChild(this);