public void remove() { Table primaryTable = getPrimaryTable(); if (primaryTable instanceof MutableTable) { ((MutableTable) primaryTable).removeRelationship(this); } Table foreignTable = getForeignTable(); if (foreignTable instanceof MutableTable) { ((MutableTable) foreignTable).removeRelationship(this); } }
public void remove() { Table primaryTable = getPrimaryTable(); if (primaryTable instanceof MutableTable) { ((MutableTable) primaryTable).removeRelationship(this); } Table foreignTable = getForeignTable(); if (foreignTable instanceof MutableTable) { ((MutableTable) foreignTable).removeRelationship(this); } }