6b7553f05ee5d9771a639ad83024acd1df82a23a
[pycalendar.git] / pycalendar / property / relationship.py
1 # Copyright (C) 2013 W. Trevor King <wking@tremily.us>
2 #
3 # This file is part of pycalender.
4 #
5 # pycalender is free software: you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free Software
7 # Foundation, either version 3 of the License, or (at your option) any later
8 # version.
9 #
10 # pycalender is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License along with
15 # pycalender.  If not, see <http://www.gnu.org/licenses/>.
16
17 """Classes representing relationship properties
18
19 As defined in :RFC:`5545`, section 3.8.4 (Relationship Component
20 Properties).
21 """
22
23 from . import base as _base
24
25
26     ## RFC 5545, section 3.8.4 (Relationship Component Properties)
27     ### RFC 5545, section 3.8.4.1 (Attendee)
28     ### RFC 5545, section 3.8.4.2 (Contact)
29     ### RFC 5545, section 3.8.4.3 (Organizer)
30     ### RFC 5545, section 3.8.4.4 (Recurrence ID)
31     ### RFC 5545, section 3.8.4.5 (Related To)
32
33
34 class UniformResourceLocator (_base.Property):
35     ### RFC 5545, section 3.8.4.6 (Uniform Resource Locator)
36     name = 'URL'
37     dtypes = ['URI']
38
39
40 class UniqueIdentifier (_base.Property):
41     ### RFC 5545, section 3.8.4.7 (Unique Identifier)
42     name = 'UID'
43     dtypes = ['TEXT']