public class FindTModelByNameQuery
extends TModelQuery
Returns the list of tmodel keys possessing the passed Name argument.
Output is restricted by list of tModel keys passed in. If null, all tModels are searched.
Output is produced by building the appropriate JPA query based on input and find qualifiers.
From specification:
"This string value represents the name of the tModel elements to be found. Since tModel data only has a single
name, only a single name may be passed. The argument must match exactly since "exactMatch" is the default behavior,
but if the "approximateMatch" findQualifier is used together with the appropriate wildcard character, then matching
is done according to wildcard rules. See Section 5.1.6 About Wildcards for additional information. The name MAY be
marked with an xml:lang adornment. If a language markup is specified, the search results report a match only on those
entries that match both the name value and language criteria. The match on language is a leftmost case-insensitive
comparison of the characters supplied. This allows one to find all tModels whose name begins with an "A" and are expressed
in any dialect of French, for example. Values which can be passed in the language criteria adornment MUST obey the rules
governing the xml:lang data type as defined in Section 3.3.2.3 name."
- Author:
- Jeff Faath