Profile sets and profiles are not bound to a particular model.
To customize the profile values you must specify which class is to perform this functionality in the profile set. The specified class must implement the ProfileUpdateValue interface. The class name for this can be specified within the profile set management tools when defining the profile set.
The ProfileUpdateValue interface has one method, which is called at generation time. From within the updateProfileValues method you can modify any of the values in the specified profile that is passed in. These new value(s) will be used to generate a new instance of the WebApp.
Parent topic: Default profile selection handler