messagesOfSubModel

Finds all corresponding ValidationMessages to this Store, which means all messages, that fit exactly with their path or which are sub-elements of this Stores data model.

Consider the following example:

Store path = ".person.address"

// included
".person.address"
".person.address.street"
".person.address.city"
".person.address.coordinates.altitude"

// not included
- ".person.addresses"
- ".person.other"

Be aware that the filtering is based upon the correct usage of Store.path's field. This can be reliably achieved by using dev.fritz2.core.Inspectors and their mappings for creating the correct path values.