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