Unit tests
[vid.git] / vid-app-common / src / main / java / org / onap / vid / asdc / beans / tosca / Requirement.java
1 /*-
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");
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.vid.asdc.beans.tosca;
22
23 import java.util.Collection;
24
25 /**
26  * The Class Requirement.
27  */
28 public class Requirement {
29
30         /** The occurrences. */
31         private Collection<String> occurrences;
32         
33         /** The capability. */
34         private String capability;
35         
36         /** The node. */
37         private String node;
38         
39         /** The relationship. */
40         private String relationship;
41         
42         /**
43          * Instantiates a new requirement.
44          */
45         Requirement() {}
46         
47         /**
48          * Gets the occurrences.
49          *
50          * @return the occurrences
51          */
52         public Collection<String> getOccurrences() {
53                 return occurrences;
54         }
55         
56         /**
57          * Gets the capability.
58          *
59          * @return the capability
60          */
61         public String getCapability() {
62                 return capability;
63         }
64         
65         /**
66          * Gets the node.
67          *
68          * @return the node
69          */
70         public String getNode() {
71                 return node;
72         }
73         
74         /**
75          * Gets the relationship.
76          *
77          * @return the relationship
78          */
79         public String getRelationship() {
80                 return relationship;
81         }
82         
83         /**
84          * Sets the occurrences.
85          *
86          * @param occurrences the new occurrences
87          */
88         public void setOccurrences(Collection<String> occurrences) {
89                 this.occurrences = occurrences;
90         }
91         
92         /**
93          * Sets the capability.
94          *
95          * @param capability the new capability
96          */
97         public void setCapability(String capability) {
98                 this.capability = capability;
99         }
100         
101         /**
102          * Sets the node.
103          *
104          * @param node the new node
105          */
106         public void setNode(String node) {
107                 this.node = node;
108         }
109         
110         /**
111          * Sets the relationship.
112          *
113          * @param relationship the new relationship
114          */
115         public void setRelationship(String relationship) {
116                 this.relationship = relationship;
117         }
118         
119         
120 }