forked from Max77T/plantmap-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.py
49 lines (44 loc) · 1.25 KB
/
project.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# coding: utf8
class Project:
"""
This class represents a project of the plugin
"""
def __init__(self,
name,
description,
contactName,
contactEmail,
cbnOrganisation,
studyStartDate,
studyEndDate,
projectVersion,
thesaurusISO,
thesaurusInspire,
keywords,
contactInspire,
dataOwner,
genealogyData,
cbnManager,
updateFrequency,
usageLimitation,
dataState,
dateModification):
self.name = name # Name of the project
self.description = description # Description of the project
self.contactName = contactName # Name of the contact of the project
self.contactEmail = contactEmail # Email of the contact
self.cbnOrganisation = cbnOrganisation # CBN
self.studyStartDate = studyStartDate # Start date
self.studyEndDate = studyEndDate # End date
self.projectVersion = projectVersion # Version of the project
self.thesaurusISO = thesaurusISO
self.thesaurusInspire = thesaurusInspire
self.keywords = keywords # List of keywords
self.contactInspire = contactInspire
self.dataOwner = dataOwner
self.genealogyData= genealogyData
self.cbnManager = cbnManager
self.updateFrequency = updateFrequency
self.usageLimitation = usageLimitation
self.dataState = dataState
self.dateModification = dateModification