Look at the DecodeQualifier and FormatQualification methods in BMC.ARSystem.Server class of the AR .NET API. Similar facility is available within Java API too -- ARServerUser class has the methods such as decodeQualification, formatQualification are of interest to you. As the names indicate, first function allows you to decode an internal representation (string) into an appropriate qualification object; second function then allows you to produce a formatted representation (string) using this object.
If you are looking for workflow based solution, please look at the AR System Special Run Process Application Commands -- specifically
Application-Format-Qual "<form>" <internal_qualifier>
Finally if you're looking for this functionality in a C API client, unfortunately you're out of luck at least AFAIAK. You can decode the qualification (ARDecodeQualification), you can parse a readable/formatted qualification string into object (ARLoadARQualifierStruct); but you cannot produce a formatted string representation usign the API. You have to walk the qualification object and produce the string yourself recursively.
when I have created such a conversion class in java where is the location for this class on the ARServer?
Thanks for advice
Have a look at the special Run Processes in the help/documentation there is some stuff there
I have attached a def file for a simple conversion tool I built. It will convert from String to Internal Rep and vice versa.
Basically, it is a Active Link that executes a Service Filter and maps the output using Application-Parse-Qual and Application-Format-Qual based on form selection. Very straight forward.
(I realize this question is almost 4 years old, but it might be helpful for future queries on the topic)
QualParseFormatTool.def 15.7 K