source: TI05-delivery/ows_framework/trunk/ows/README @ 2469

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows/README@2469
Revision 2469, 811 bytes checked in by spascoe, 13 years ago (diff)

About half way through modelling OWS v1.1.0

Line 
1= Notes on design principles in the ows package =
2
3== Leightweight classes ==
4
5Some classes are slight extensions of types provided by python, such
6as ows.is19115_subset.LanguageString that has a lang attribute but is
7otherwise just a string.
8
9In these cases a new-style class is provided with a {{{__slots__}}}
10attribute to restrict it's size.  Such classes can often be substitued
11with a builtin python type as documented in the class.
12
13== Attribute sequences ==
14
15When the OWS UML or schema declares a sequence of objects it may be
16modelled as a single attribute by pluralising the attribute name.
17E.g. ows.data_identification.Identification.outputFormats.  In such
18cases a python sequence or iterable of the specified object is
19desired.
20Note: ows.data_identification.Identification.metadata is pleural :-).
21
Note: See TracBrowser for help on using the repository browser.