# ConstraintBinding.java **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2012-12-11 10:44 UTC **Views:** 8 **Replies:** 2 **URL:** https://discourse.openehr.org/t/constraintbinding-java/14288 --- ## Post #1 by @system Hi again, There is a class org.openehr.am.archetype.ontology.ConstraintBinding.java in the Java RM implementation and I wonder if this is just a left-over from long ago? It doesn't seem to be used at all unless I am missing something? Could this be deleted? Also, I would like to overwrite equals and hashCode methods for QueryBindingItem, ConstraintBindingItem, OntologyBindingItem, OntologyBinding Are you ok with this? Cheers Sebastian --- ## Post #2 by @system Sebastian, If it's not used by any other classes, it's probably a left\-over\. To be sure, please make a full run of unit tests in the java project\. Go ahead with equals\(\) and hashCode\(\) methods in mentioned classes\. /Rong --- ## Post #3 by @system Thanks Rong, I already did that and it comes up with no problems Cheers Sebastian --- **Canonical:** https://discourse.openehr.org/t/constraintbinding-java/14288 **Original content:** https://discourse.openehr.org/t/constraintbinding-java/14288