def set_max_waypoint_items(self, max_waypoint_items):
if self.get_max_waypoint_items_metadata().is_read_only():<EOL><INDENT>raise NoAccess()<EOL><DEDENT>if not self.my_osid_object_form._is_valid_cardinal(max_waypoint_items,<EOL>self.get_max_waypoint_items_metadata()):<EOL><INDENT>raise InvalidArgument()<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = max_waypoint_items<EOL>
This determines how many waypoint items will be seen for a scaffolded wrong answer