setRestriction(Restriction) method

Syntax

void setRestriction ( Restriction restriction )