2 * Copyright 2016-2017, Nokia Corporation
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com.nokia.vfcadaptor.beans;
19 import javax.persistence.Column;
20 import javax.persistence.GeneratedValue;
21 import javax.persistence.GenerationType;
22 import javax.persistence.Id;
24 public class VnfmResourceInfo {
26 @GeneratedValue(strategy = GenerationType.AUTO)
29 @Column(name = "type")
30 private ResourceType type;
32 @Column(name = "resourceDefinitionId")
33 private String resourceDefinitionId;
38 @Column(name = "status")
39 private String status;
45 public void setId(int id) {
49 public ResourceType getType() {
53 public void setType(ResourceType type) {
57 public String getResourceDefinitionId() {
58 return resourceDefinitionId;
61 public void setResourceDefinitionId(String resourceDefinitionId) {
62 this.resourceDefinitionId = resourceDefinitionId;
65 public String getVdu() {
69 public void setVdu(String vdu) {
73 public String getStatus() {
77 public void setStatus(String status) {