add missing hashcode/equals, fixes OPENNMS-NMS18-UNIT-2