function detectabilityData = getObservabilityInformation(objective)
%

%   Copyright 2018 The MathWorks, Inc.

    if ~isempty(objective.detectability)
        if strcmp(objective.detectability, 'Detectable')
                detectabilityStatus = getString(message('Sldv:RptGen:Detectable'));
        elseif strcmp(objective.detectability, 'Not Detectable')
                detectabilityStatus = getString(message('Sldv:RptGen:NotDetectable'));
        elseif strcmp(objective.detectability, 'Undecided')
                detectabilityStatus = getString(message('Sldv:RptGen:Undecided'));
        else 
                detectabilityStatus = '-';
        end
        detectabilityData = struct('url', '',...
                                'disp', detectabilityStatus,...
                            'type', 'char');
   else
       detectabilityData = struct('url', '', 'disp', '-', 'type', 'char');
   end
end
