function schema
%SCHEMA Defines properties for @event class.
%
%   Author(s): James G. Owen
%   Copyright 1986-2003 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:34:20 $
 
% Register class 
p = findpackage('tsdata');

% Register class 
c = schema.class(p,'event');

% Public properties
schema.prop(c,'EventData','MATLAB array');
schema.prop(c,'Name','string');
schema.prop(c,'Time','double');
schema.prop(c,'Parent','handle');
% if isempty(findtype('TimeUnits'))
%     schema.EnumType('TimeUnits', {'years', 'weeks', 'days', 'hours', ...
%         'mins', 'secs'});
% end
% p = schema.prop(c,'Units','TimeUnits');
% p.FactoryValue = 'secs';


