Framework constructed for switchable contact laws