[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-license-rest / vendor-license-rest-types / src / main / java / org / openecomp / sdcrests / vendorlicense / types / VendorLicenseModelEntityDto.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 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.vendorlicense.types;
22
23 import io.swagger.annotations.ApiModel;
24 import org.openecomp.sdc.versioning.dao.types.VersionStatus;
25 import org.openecomp.sdcrests.common.types.VersionDto;
26
27 import java.util.List;
28
29 @ApiModel(value = "VendorLicenseModelEntity")
30 public class VendorLicenseModelEntityDto extends VendorLicenseModelRequestDto {
31   private String id;
32   private VersionDto version;
33   private VersionStatus status;
34   private String lockingUser;
35   private List<VersionDto> viewableVersions;
36   private List<VersionDto> finalVersions;
37
38   public String getId() {
39     return id;
40   }
41
42   public void setId(String id) {
43     this.id = id;
44   }
45
46   public VersionDto getVersion() {
47     return version;
48   }
49
50   public void setVersion(VersionDto version) {
51     this.version = version;
52   }
53
54   public VersionStatus getStatus() {
55     return status;
56   }
57
58   public void setStatus(VersionStatus status) {
59     this.status = status;
60   }
61
62   public String getLockingUser() {
63     return lockingUser;
64   }
65
66   public void setLockingUser(String lockingUser) {
67     this.lockingUser = lockingUser;
68   }
69
70   public List<VersionDto> getViewableVersions() {
71     return viewableVersions;
72   }
73
74   public void setViewableVersions(List<VersionDto> viewableVersions) {
75     this.viewableVersions = viewableVersions;
76   }
77
78   public List<VersionDto> getFinalVersions() {
79     return finalVersions;
80   }
81
82   public void setFinalVersions(List<VersionDto> finalVersions) {
83     this.finalVersions = finalVersions;
84   }
85 }