Overrides super class method to be able to set custom web application
if applicable in GetEnsembleArray().
Tranforms the link specified by link into a URL and returns it as a string.
The URL may be encrypted.
The array, query, contains an optional set of name-value pairs
which are added to the URL. For example 'Set query("name")="data"'
If the optional argument addQ is true, then a ? or &,
as appropriate, is added to end of the URL