source: TI05-delivery/ows_framework/trunk/ows/service_identification.py @ 2474

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows/service_identification.py@2474
Revision 2474, 1.2 KB checked in by spascoe, 13 years ago (diff)

Renaming ows as ows_common. Part 1

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.data_identification import Description
12from ows_common.iso19115_subset import Code
13
14class ServiceIdentification(Description):
15    """
16    @ivar serviceType
17    @type serviceType: ows.iso19115_subset.Code
18    @ivar serviceTypeVersion: The service version
19    @type serviceTypeVersion: str
20    @ivar profile
21    @type profile: None or str
22    @ivar fees
23    @type fees: None or str
24    @ivar accessConstraints
25    @type accessConstraints: None or str
26
27    """
28    def __init__(self, serviceType, serviceTypeVersion,
29                 profile=None, fees=None, accessConstraints=None):
30        """
31        All parameters set default attributes of the instance.
32
33        """
34        super(self.__class__).__init__()
35
36        self.serviceType = serviceType
37        self.serviceTypeVersion = version
38        self.profile = profile
39        self.fees = fees
40        self.accessConstraints = accessConstraints
41
Note: See TracBrowser for help on using the repository browser.