b94cc67f131ee752ea7bfed798e2e00e60809dff
[sdc.git] / common / openecomp-tosca-datatype / src / main / java / org / openecomp / sdc / tosca / datatypes / model / RequirementAssignment.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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.openecomp.sdc.tosca.datatypes.model;
22
23
24 import java.util.Arrays;
25
26 public class RequirementAssignment {
27
28   private String capability;
29   private String node;
30   private String relationship;
31   private NodeFilter node_filter;
32   private Object[] occurrences;
33
34   public String getCapability() {
35     return capability;
36   }
37
38   public void setCapability(String capability) {
39     this.capability = capability;
40   }
41
42   public String getNode() {
43     return node;
44   }
45
46   public void setNode(String node) {
47     this.node = node;
48   }
49
50   public String getRelationship() {
51     return relationship;
52   }
53
54   public void setRelationship(String relationship) {
55     this.relationship = relationship;
56   }
57
58   public NodeFilter getNode_filter() {
59     return node_filter;
60   }
61
62   public void setNode_filter(NodeFilter node_filter) {
63     this.node_filter = node_filter;
64   }
65
66   public Object[] getOccurrences() {
67     return occurrences;
68   }
69
70   public void setOccurrences(Object[] occurrences) {
71     this.occurrences = occurrences;
72   }
73 }