MethodResult
conveys the return value of one of the activate, modify, and deactivate methods. Note that the method returning null
or being defined as void
is not the same thing. If the method returns null
an instance of this class is returned whose {@link #getResult()} method returns null
. If the method isdefined as void
the special instance {@link #VOID} is returned.
The MethodResult class indicates whether the method call succeeded or not, and, on success, provides access to all data returned by the method call.
Returned data is provided in QmfData map indexed by the name of the parameter. The QmfData map contains only those parameters that are classified as "output" by the SchemaMethod.
Although not part of the QMF2 API I've made MethodResult extend QmfData so we can directly access the argument or exception values of the MethodResult object, which tends to neaten up client code. @author Fraser Adams
|
|
|
|