source: TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/model/service_identification.py @ 3553

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/model/service_identification.py@3553
Revision 3553, 1.3 KB checked in by spascoe, 13 years ago (diff)

Moved all the model classes into their own sub-module.

Line 
1# Copyright (C) 2007 STFC & NERC (Science and Technology Facilities Council).
2# This software may be distributed under the terms of the
3# Q Public License, version 1.0 or later.
4# http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5"""
6Classes modelling the OWS Service Identification package v1.1.0.
7
8@author: Stephen Pascoe
9"""
10
11from ows_common.model.data_identification import Description
12
13class ServiceIdentification(Description):
14    """
15    @ivar serviceType
16    @type serviceType: ows.iso19115_subset.Code
17    @ivar serviceTypeVersions: The supported service versions
18    @type serviceTypeVersions: iterable of str
19    @ivar profiles
20    @type profiles: iterable of str
21    @ivar fees
22    @type fees: None or str
23    @ivar accessConstraints
24    @type accessConstraints: None or str
25
26    """
27    def __init__(self, serviceType, serviceTypeVersions=[],
28                 profiles=[], fees=None, accessConstraints=None, **kwargs):
29        """
30        All parameters set default attributes of the instance.
31
32        """
33        super(self.__class__, self).__init__(**kwargs)
34
35        self.serviceType = serviceType
36        self.serviceTypeVersions = serviceTypeVersions
37        self.profiles = profiles
38        self.fees = fees
39        self.accessConstraints = accessConstraints
40
Note: See TracBrowser for help on using the repository browser.