Quintiq file version 2.0
|
#parent: #root
|
Method GetSetType (NamedValueTree nvt_i) as LibDMF_SetType
|
{
|
Description: 'Retrieve the SetType based on dataset kind, dataset name and settype name from NVT'
|
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.GetSetType( sourceKind, sourceName, setTypeName );
|
|
return settype;
|
*]
|
}
|