ModelRepository API explanation required

I have a requirement to get the Model from the DB using the key and I have planned to use the below method from ModelRepository.

List findByKeyAndType(String key, Integer modelType);

Can any one please explain, actually what is modelType. In DB, sometimes it getting stored as 0 and sometimes as 4. On what basis the values getting updated. Please let me know.
Thanks in advance