aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/org/onap/usecaseui/server/bean/intent/CCVPNInstance.java
blob: 55eb84a2a506aab096ba5e6f76030d04f6a506d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/*
 * Copyright (C) 2021 CTC, Inc. and others. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.onap.usecaseui.server.bean.intent;
import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name="ccvpn_instance")
public class CCVPNInstance implements Serializable {

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "id")
    private int id;

    @Column(name = "instance_id")
    private String instanceId;

    @Column(name = "job_id")
    private String jobId;

    @Column(name = "progress")
    private int progress;

    @Column(name = "status")
    private String status;

    @Column(name = "resource_instance_id")
    private String resourceInstanceId;

    @Column(name = "name")
    private String name;

    @Column(name = "cloud_point_name")
    private String cloudPointName;

    @Column(name = "access_point_one_name")
    private String accessPointOneName;

    @Column(name = "access_point_one_band_width")
    private int accessPointOneBandWidth;

    @Column(name = "line_num")
    private String lineNum;

    @Column(name = "protect_status")
    private int protectStatus;

    @Column(name = "delete_state")
    private int deleteState;

    @Column(name = "protection_cloud_point_name")
    private String protectionCloudPointName;

    @Column(name = "protection_type")
    private String protectionType;

    public CCVPNInstance() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getResourceInstanceId() {
        return resourceInstanceId;
    }

    public void setResourceInstanceId(String resourceInstanceId) {
        this.resourceInstanceId = resourceInstanceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCloudPointName() {
        return cloudPointName;
    }

    public void setCloudPointName(String cloudPointName) {
        this.cloudPointName = cloudPointName;
    }

    public String getAccessPointOneName() {
        return accessPointOneName;
    }

    public void setAccessPointOneName(String accessPointOneName) {
        this.accessPointOneName = accessPointOneName;
    }

    public int getAccessPointOneBandWidth() {
        return accessPointOneBandWidth;
    }

    public void setAccessPointOneBandWidth(int accessPointOneBandWidth) {
        this.accessPointOneBandWidth = accessPointOneBandWidth;
    }

    public String getLineNum() {
        return lineNum;
    }

    public void setLineNum(String lineNum) {
        this.lineNum = lineNum;
    }

    public int getDeleteState() {
        return deleteState;
    }

    public void setDeleteState(int deleteState) {
        this.deleteState = deleteState;
    }

    public int getProtectStatus() {
        return protectStatus;
    }

    public void setProtectStatus(int protectStatus) {
        this.protectStatus = protectStatus;
    }

    public String getProtectionCloudPointName() {
        return protectionCloudPointName;
    }

    public void setProtectionCloudPointName(String protectionCloudPointName) {
        this.protectionCloudPointName = protectionCloudPointName;
    }

    public String getProtectionType() {
        return protectionType;
    }

    public void setProtectionType(String protectionType) {
        this.protectionType = protectionType;
    }
}