code: function setConstraints(oType, oConstraints) {
  		var vNullable;
  
  		oType.oConstraints = undefined;
  		if (oConstraints) {
  			vNullable = oConstraints.nullable;
  			if (vNullable === false || vNullable === "false") {
  				oType.oConstraints = {nullable : false};
  			} else if (vNullable !== undefined && vNullable !== true && vNullable !== "true") {
  				Log.warning("Illegal nullable: " + vNullable, null, oType.getName());
  			}
  		}
  		oType._handleLocalizationChange();
  	}
docs: Sets the constraints.
  
  @param {sap.ui.model.odata.type.Int} oType
  the type instance
  @param {object} [oConstraints]
  constraints, see {@link #constructor}