a28bd9a501357028e971b3a13de69ed64908cd5e
[so.git] / adapters / mso-vfc-adapter / src / main / java / org / onap / so / adapters / vfc / model / LocationConstraint.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.adapters.vfc.model;
22
23 /**
24  * <br>
25  * <p>
26  * </p>
27  * 
28  * @author
29  * @version ONAP Amsterdam Release 2017-9-6
30  */
31 public class LocationConstraint {
32
33     /**
34      * vnf profile id
35      */
36     private String vnfProfileId;
37
38     /**
39      * location constraints: vimId
40      */
41     private VimLocation locationConstraints;
42
43     /**
44      * @return Returns the vnfProfileId.
45      */
46     public String getVnfProfileId() {
47         return vnfProfileId;
48     }
49
50     /**
51      * @param vnfProfileId The vnfProfileId to set.
52      */
53     public void setVnfProfileId(String vnfProfileId) {
54         this.vnfProfileId = vnfProfileId;
55     }
56
57     
58     /**
59      * @return Returns the locationConstraints.
60      */
61     public VimLocation getLocationConstraints() {
62         return locationConstraints;
63     }
64
65     
66     /**
67      * @param locationConstraints The locationConstraints to set.
68      */
69     public void setLocationConstraints(VimLocation locationConstraints) {
70         this.locationConstraints = locationConstraints;
71     }
72
73 }