speaking generally , it is for the state primarily and exclusively , to declare for what local public purposes private property , within its limits may be taken upon compensation to the owner , as well as to prescribe a mode in which it may be condemned and taken .