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