Yes, if you use a set of properties and get access methods (virtually any method with a dot in the name), you should include them in a file classdef, not in separate files. See the documentation.
However, if you have a special reason to put as much as possible in individual files, you can define methods getMyPropand setMyPropin separate files, and then in the file classdef, type get.myPropand set.myPropchallenges.
source
share