@Override public int hashCode() { int result = myModelId.hashCode(); result = 31 * result + (myModelId.isGloballyUnique() ? 0 : getModuleReference().hashCode()); return result; }