Initial OpenECOMP APPC commit
[appc.git] / app-c / appc / appc-dispatcher / appc-request-handler / appc-request-handler-core / src / main / java / org / openecomp / appc / workingstatemanager / objects / VnfWorkingStateDto.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.appc.workingstatemanager.objects;
23
24
25 public class VnfWorkingStateDto {
26     private String vnfId;
27     private VNFWorkingState state;
28     private String ownerId;
29     private long updated;
30     private long ver;
31
32     public VnfWorkingStateDto() {
33     }
34
35     public VnfWorkingStateDto(String vnfId) {
36         this.vnfId = vnfId;
37     }
38
39     public String getVnfId() {
40         return vnfId;
41     }
42
43     public void setVnfId(String vnfId) {
44         this.vnfId = vnfId;
45     }
46
47     public VNFWorkingState getState() {
48         return state;
49     }
50
51     public void setState(VNFWorkingState state) {
52         this.state = state;
53     }
54
55     public String getOwnerId() {
56         return ownerId;
57     }
58
59     public void setOwnerId(String ownerId) {
60         this.ownerId = ownerId;
61     }
62
63     public long getUpdated() {
64         return updated;
65     }
66
67     public void setUpdated(long updated) {
68         this.updated = updated;
69     }
70
71     public long getVer() {
72         return ver;
73     }
74
75     public void setVer(long ver) {
76         this.ver = ver;
77     }
78
79
80     @Override
81     public String toString() {
82         return "VnfWorkingStateDto{" +
83                 "vnfId='" + vnfId + '\'' +
84                 ", state=" + state +
85                 ", ownerId='" + ownerId + '\'' +
86                 ", updated=" + updated +
87                 ", ver=" + ver +
88                 '}';
89     }
90 }