How dynamicaly Get and Set constraint?

Hi All,

Could anybody help me:
                                    How dynamicaly Get and Set
constraint?

Sasha.