hbarton2 / cscd350-f24-UnhandledExceptions

0 stars 0 forks source link

[BUG] deleting a class does not delete it's relationships #60

Closed Lantzer closed 2 weeks ago

Lantzer commented 2 weeks ago

when deleting a class that has relationships, the class is deleted but the list relationship method still shows the relationships existing.

Lantzer commented 2 weeks ago

removeClassItem -> add relationshipItems to parameters.

maybe each classItem has a list that just stores the relationshipItem's that it is a part of (source or destination), when the removeClassItem function is called, it iterates through the list and also deletes the relationships from the passed in relationshipItems hashMap.