[VID-6] Initial rebase push
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / beans / tosca / Requirement.java
1 /*-\r
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.vid.asdc.beans.tosca;\r
22 \r
23 import java.util.Collection;\r
24 \r
25 /**\r
26  * The Class Requirement.\r
27  */\r
28 public class Requirement {\r
29 \r
30         /** The occurrences. */\r
31         private Collection<String> occurrences;\r
32         \r
33         /** The capability. */\r
34         private String capability;\r
35         \r
36         /** The node. */\r
37         private String node;\r
38         \r
39         /** The relationship. */\r
40         private String relationship;\r
41         \r
42         /**\r
43          * Instantiates a new requirement.\r
44          */\r
45         private Requirement() {}\r
46         \r
47         /**\r
48          * Gets the occurrences.\r
49          *\r
50          * @return the occurrences\r
51          */\r
52         public Collection<String> getOccurrences() {\r
53                 return occurrences;\r
54         }\r
55         \r
56         /**\r
57          * Gets the capability.\r
58          *\r
59          * @return the capability\r
60          */\r
61         public String getCapability() {\r
62                 return capability;\r
63         }\r
64         \r
65         /**\r
66          * Gets the node.\r
67          *\r
68          * @return the node\r
69          */\r
70         public String getNode() {\r
71                 return node;\r
72         }\r
73         \r
74         /**\r
75          * Gets the relationship.\r
76          *\r
77          * @return the relationship\r
78          */\r
79         public String getRelationship() {\r
80                 return relationship;\r
81         }\r
82         \r
83         /**\r
84          * Sets the occurrences.\r
85          *\r
86          * @param occurrences the new occurrences\r
87          */\r
88         public void setOccurrences(Collection<String> occurrences) {\r
89                 this.occurrences = occurrences;\r
90         }\r
91         \r
92         /**\r
93          * Sets the capability.\r
94          *\r
95          * @param capability the new capability\r
96          */\r
97         public void setCapability(String capability) {\r
98                 this.capability = capability;\r
99         }\r
100         \r
101         /**\r
102          * Sets the node.\r
103          *\r
104          * @param node the new node\r
105          */\r
106         public void setNode(String node) {\r
107                 this.node = node;\r
108         }\r
109         \r
110         /**\r
111          * Sets the relationship.\r
112          *\r
113          * @param relationship the new relationship\r
114          */\r
115         public void setRelationship(String relationship) {\r
116                 this.relationship = relationship;\r
117         }\r
118         \r
119         \r
120 }\r