fc7beac7f3ec76fd17bdc2aed47b1e70fffd8396
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Amdocs
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  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21  */
22
23 package org.openecomp.appc.workingstatemanager.objects;
24
25
26 public class VnfWorkingStateDto {
27     private String vnfId;
28     private VNFWorkingState state;
29     private String ownerId;
30     private long updated;
31     private long ver;
32
33     public VnfWorkingStateDto() {
34     }
35
36     public VnfWorkingStateDto(String vnfId) {
37         this.vnfId = vnfId;
38     }
39
40     public String getVnfId() {
41         return vnfId;
42     }
43
44     public void setVnfId(String vnfId) {
45         this.vnfId = vnfId;
46     }
47
48     public VNFWorkingState getState() {
49         return state;
50     }
51
52     public void setState(VNFWorkingState state) {
53         this.state = state;
54     }
55
56     public String getOwnerId() {
57         return ownerId;
58     }
59
60     public void setOwnerId(String ownerId) {
61         this.ownerId = ownerId;
62     }
63
64     public long getUpdated() {
65         return updated;
66     }
67
68     public void setUpdated(long updated) {
69         this.updated = updated;
70     }
71
72     public long getVer() {
73         return ver;
74     }
75
76     public void setVer(long ver) {
77         this.ver = ver;
78     }
79
80
81     @Override
82     public String toString() {
83         return "VnfWorkingStateDto{" +
84                 "vnfId='" + vnfId + '\'' +
85                 ", state=" + state +
86                 ", ownerId='" + ownerId + '\'' +
87                 ", updated=" + updated +
88                 ", ver=" + ver +
89                 '}';
90     }
91 }