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 org.onap.vfc.nfvo.driver.vnfm.svnfm.db.bean;
 
  19 import java.io.Serializable;
 
  21 import javax.persistence.Column;
 
  22 import javax.persistence.Entity;
 
  23 import javax.persistence.GeneratedValue;
 
  24 import javax.persistence.GenerationType;
 
  25 import javax.persistence.Id;
 
  26 import javax.persistence.Table;
 
  29 @Table(name="vnfm_resource_info")
 
  30 public class VnfmResourceInfo implements Serializable {
 
  31         private static final long serialVersionUID = -288015953900428312L;
 
  33         @GeneratedValue(strategy = GenerationType.AUTO)
 
  36         @Column(name = "type")
 
  37         private ResourceType type;
 
  39         @Column(name = "resource_definition_id")
 
  40         private String resourceDefinitionId;
 
  45         @Column(name = "status")
 
  46         private String status;
 
  52         public void setId(int id) {
 
  56         public ResourceType getType() {
 
  60         public void setType(ResourceType type) {
 
  64         public String getResourceDefinitionId() {
 
  65                 return resourceDefinitionId;
 
  68         public void setResourceDefinitionId(String resourceDefinitionId) {
 
  69                 this.resourceDefinitionId = resourceDefinitionId;
 
  72         public String getVdu() {
 
  76         public void setVdu(String vdu) {
 
  80         public String getStatus() {
 
  84         public void setStatus(String status) {