Sync Integ to Master
[sdc.git] / asdctool / src / main / java / org / openecomp / sdc / asdctool / simulator / tenant / OperationalEnvironment.java
1 package org.openecomp.sdc.asdctool.simulator.tenant;
2
3 import org.openecomp.sdc.be.datatypes.enums.EnvironmentStatusEnum;
4
5 import com.opencsv.bean.CsvBindByPosition;
6
7 /**
8  * Represents line in CSV file should be imported into "operationalenvironment" table.
9  * @author dr2032
10  *
11  */
12 public class OperationalEnvironment {
13         @CsvBindByPosition(position = 0)
14     private String environmentId;
15
16         @CsvBindByPosition(position = 1)
17         private String dmaapUebAddress;
18
19         @CsvBindByPosition(position = 2)
20         private String ecompWorkloadContext;
21         
22         @CsvBindByPosition(position = 3)
23         private Boolean isProduction;
24         
25         @CsvBindByPosition(position = 4)
26         private String lastModified;
27
28         @CsvBindByPosition(position = 5)
29     private String status;
30         
31         @CsvBindByPosition(position = 6)
32         private String tenant;
33
34         @CsvBindByPosition(position = 7)
35     private String uebApikey;
36
37     @CsvBindByPosition(position = 8)
38     private String uebSecretKey;
39
40
41
42     public String getLastModified() {
43         return lastModified;
44     }
45
46     public void setLastModified(String lastModified) {
47         this.lastModified = lastModified;
48     }
49
50    
51     public String getEnvironmentId() {
52         return environmentId;
53     }
54
55     public void setEnvironmentId(String environmentId) {
56         this.environmentId = environmentId;
57     }
58
59     public String getTenant() {
60         return tenant;
61     }
62
63     public void setTenant(String tenant) {
64         this.tenant = tenant;
65     }
66
67     public Boolean getIsProduction() {
68         return isProduction;
69     }
70
71     public void setIsProduction(Boolean production) {
72         isProduction = production;
73     }
74
75     public String getEcompWorkloadContext() {
76         return ecompWorkloadContext;
77     }
78
79     public void setEcompWorkloadContext(String ecompWorkloadContext) {
80         this.ecompWorkloadContext = ecompWorkloadContext;
81     }
82
83     public String getStatus() {
84         return status;
85     }
86
87     public void setStatus(String status) {
88         this.status = status;
89     }
90
91     public void setStatus(EnvironmentStatusEnum status) {
92         this.status = status.getName();
93     }
94
95     public String getDmaapUebAddress() {
96         return dmaapUebAddress;
97     }
98
99     public void setDmaapUebAddress(String dmaapUebAddress) {
100         this.dmaapUebAddress = dmaapUebAddress;
101     }
102
103     public String getUebApikey() {
104         return uebApikey;
105     }
106
107     public void setUebApikey(String uebApikey) {
108         this.uebApikey = uebApikey;
109     }
110
111     public String getUebSecretKey() {
112         return uebSecretKey;
113     }
114
115     public void setUebSecretKey(String uebSecretKey) {
116         this.uebSecretKey = uebSecretKey;
117     }
118
119 }