ring
Sets model and materialAssociation at once. Priorities: name <= customId <= id. Not null field with the highest priority will be used. For example:
- id = "1", customId = "CID543321", modelName = "name" -> id is used.
- id = null, customId = "CID543321", modelName = "name" -> customId is used.
- id = null, customId = null, modelName = "name" -> modelName is used.