5ffd290d8e890a4f517dbaccac9f68224842c506
[vfc/nfvo/catalog.git] /
1 /**
2  *     Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
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.openo.orchestrator.nfv.catalog.model.externalservice.entity.containerEntity;
17
18 import javax.xml.bind.annotation.XmlAccessType;
19 import javax.xml.bind.annotation.XmlAccessorType;
20 import javax.xml.bind.annotation.XmlElement;
21
22 @XmlAccessorType(XmlAccessType.FIELD)
23 public class ContainerServiceRelationShip {
24     @XmlElement
25     private String sourceNodeName;
26
27     @XmlElement
28     private String targetNodeName;
29
30     @XmlElement
31     private String sourceNodeId;
32
33     @XmlElement
34     private String targetNodeId;
35     
36     @XmlElement
37     private String type;
38
39     public String getSourceNodeId() {
40         return sourceNodeId;
41     }
42
43     public void setSourceNodeId(String sourceNodeId) {
44         this.sourceNodeId = sourceNodeId;
45     }
46
47     public String getTargetNodeId() {
48         return targetNodeId;
49     }
50
51     public void setTargetNodeId(String targetNodeId) {
52         this.targetNodeId = targetNodeId;
53     }
54
55     public String getSourceNodeName() {
56         return sourceNodeName;
57     }
58
59     public void setSourceNodeName(String sourceNodeName) {
60         this.sourceNodeName = sourceNodeName;
61     }
62
63     public String getTargetNodeName() {
64         return targetNodeName;
65     }
66
67     public void setTargetNodeName(String targetNodeName) {
68         this.targetNodeName = targetNodeName;
69     }
70
71     public String getType() {
72         return type;
73     }
74
75     public void setType(String type) {
76         this.type = type;
77     }
78
79 }