- if (tp1.getTpNodeId().compareTo(tp2.getTpNodeId()) == 0) {
- if (tp1.getTpId().compareTo(tp2.getTpId()) == 0) {
+ if (tp1.getTerminationPointIdentifier().getNodeId()
+ .compareTo(tp2.getTerminationPointIdentifier().getNodeId()) == 0) {
+ if (tp1.getTerminationPointIdentifier().getTpId()
+ .compareTo(tp2.getTerminationPointIdentifier().getTpId()) == 0) {