function schema
% Defines properties for @qualmetadata class.

%   Copyright 1986-2003 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:34:40 $

% This calls implements the translation table for quality values.
% It is defined as an object rather than a structure so that the
% getData and setData methods can be sued to chceck that quality
% variables are valid

% Register class 
c = schema.class(findpackage('tsdata'),'qualmetadata');

% Public properties
schema.prop(c,'Code','MATLAB array'); 
schema.prop(c,'Description','MATLAB array');
% need to keep gridfirst true here since the utManageDataStorage doesn't
% discriminate the time and data variables
p = schema.prop(c,'GridFirst','bool');
p.FactoryValue = true;
% disable public and private set function since gridfirst is always true
% for quality
p.AccessFlags.PublicSet = 'off';
%p.AccessFlags.PrivateSet = 'off';
 
