setType

Sets the field 'type'.