Quintiq file version 2.0
|
#parent: #root
|
Method GetSetTypeOfOwning (NamedValueTree nvt_i, Boolean isRegex_i, Boolean setTypeFoundRequired_i,
|
output String feedback_o) as owning LibDMF_SetTypes
|
{
|
Description: 'Retrieve the SetType in the DataManager which the SOC is the owner (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() );
|
|
// Get the already existing Set.
|
settype := this.GetSetTypeOfOwning( this.GetSystemOnChannel( sourceKind, sourceName ), setTypeName, isRegex_i,
|
setTypeFoundRequired_i, feedback_o );
|
|
return &settype;
|
*]
|
}
|