Quintiq file version 2.0
|
#parent: #root
|
Method GetSetOfInterest (NamedValueTree nvt_i, Boolean setFoundRequired_i, output String feedback_o) as LibDMF_Set
|
{
|
Description: 'Retrieve the Set in the DataManager which the SOC is interested in (based on NVT), returns null if not used in DataManager.'
|
TextBody:
|
[*
|
// Get the Set based on the information that is provided in the header of the NVT.
|
sourceKind := LibInt_MessageAccessor::GetHeaderPropertyAsString( nvt_i, LibDMF_CommunicationChannel::HEADER_SOURCEKIND() );
|
sourceName := LibInt_MessageAccessor::GetHeaderPropertyAsString( nvt_i, LibDMF_CommunicationChannel::HEADER_SOURCENAME() );
|
setTypeName := LibInt_MessageAccessor::GetHeaderPropertyAsString( nvt_i, LibDMF_CommunicationChannel::HEADER_SETTYPENAME() );
|
setName := LibInt_MessageAccessor::GetHeaderPropertyAsString( nvt_i, LibDMF_CommunicationChannel::HEADER_SETNAME() );
|
|
// Get the already existing Set.
|
set := this.GetSetOfInterest( this.GetSystemOnChannel( sourceKind, sourceName ), setTypeName, setName,
|
setFoundRequired_i, feedback_o );
|
|
return set;
|
*]
|
}
|