def set_expected_length(self, expected_length):
if not self.my_osid_object_form._is_valid_integer(<EOL>expected_length, self.get_expected_length_metadata()):<EOL><INDENT>raise InvalidArgument('<STR_LIT>')<EOL><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = expected_length<EOL>
stub