Added oparent to sdc main
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / item-rest / item-rest-types / src / main / java / org / openecomp / sdcrests / item / types / VersionDto.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdcrests.item.types;
22
23 import org.openecomp.sdc.versioning.dao.types.VersionState;
24 import org.openecomp.sdc.versioning.dao.types.VersionStatus;
25
26 import java.util.Date;
27 import java.util.Map;
28
29 public class VersionDto {
30   private String id;
31   private String name;
32   private String description;
33   private String baseId;
34   private VersionStatus status;
35   private VersionState state;
36   private Date creationTime;
37   private Date modificationTime;
38   private Map<String,Object> additionalInfo;
39   public VersionDto() {
40
41   }
42
43   public String getId() {
44     return id;
45   }
46
47   public void setId(String id) {
48     this.id = id;
49   }
50
51   public String getName() {
52     return name;
53   }
54
55   public void setName(String name) {
56     this.name = name;
57   }
58
59   public String getDescription() {
60     return description;
61   }
62
63   public void setDescription(String description) {
64     this.description = description;
65   }
66
67   public String getBaseId() {
68     return baseId;
69   }
70
71   public void setBaseId(String baseId) {
72     this.baseId = baseId;
73   }
74
75   public VersionStatus getStatus() {
76     return status;
77   }
78
79   public void setStatus(VersionStatus status) {
80     this.status = status;
81   }
82
83   public VersionState getState() {
84     return state;
85   }
86
87   public void setState(VersionState state) {
88     this.state = state;
89   }
90
91   public Date getCreationTime() {
92     return creationTime;
93   }
94
95   public void setCreationTime(Date creationTime) {
96     this.creationTime = creationTime;
97   }
98
99   public Date getModificationTime() {
100     return modificationTime;
101   }
102
103   public void setModificationTime(Date modificationTime) {
104     this.modificationTime = modificationTime;
105   }
106
107   public Map<String, Object> getAdditionalInfo() {
108     return additionalInfo;
109   }
110
111   public void setAdditionalInfo(Map<String, Object> additionalInfo) {
112     this.additionalInfo = additionalInfo;
113   }
114 }