Remove Throwable from vfc-svnfm by catch exception
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nslcm / bo / entity / ResourceHandle.java
1 /*
2 * Copyright 2016-2017 Nokia Corporation
3 *
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
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16 package org.onap.vfc.nfvo.driver.vnfm.svnfm.nslcm.bo.entity;
17
18 import org.onap.vfc.nfvo.driver.vnfm.svnfm.constant.CommonEnum;
19
20 import com.fasterxml.jackson.annotation.JsonProperty;
21
22 public class ResourceHandle {
23    
24         @JsonProperty("resourceType")
25         private CommonEnum.resourceType resourceType;
26         @JsonProperty("resourceId")
27         private String resourceId;
28         @JsonProperty("resourceName")
29         private String resourceName;
30         public CommonEnum.resourceType getResourceType() {
31                 return resourceType;
32         }
33         public void setResourceType(CommonEnum.resourceType resourceType) {
34                 this.resourceType = resourceType;
35         }
36         public String getResourceId() {
37                 return resourceId;
38         }
39         public void setResourceId(String resourceId) {
40                 this.resourceId = resourceId;
41         }
42         public String getResourceName() {
43                 return resourceName;
44         }
45         public void setResourceName(String resourceName) {
46                 this.resourceName = resourceName;
47         }
48         
49         
50         
51         
52         
53 }