public functionsetPropertyConstraints($name, array $constraints) {
$this->propertyConstraints[$name] = $constraints;
// Reset the field item definition so the next time it is instantiated it// will receive the new constraints.$this->itemDefinition = NULL;
return$this;
}