2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdc.tosca.datatypes.model;
24 import java.util.Arrays;
26 public class RequirementAssignment {
28 private String capability;
30 private String relationship;
31 private NodeFilter node_filter;
32 private Object[] occurrences;
34 public String getCapability() {
38 public void setCapability(String capability) {
39 this.capability = capability;
42 public String getNode() {
46 public void setNode(String node) {
50 public String getRelationship() {
54 public void setRelationship(String relationship) {
55 this.relationship = relationship;
58 public NodeFilter getNode_filter() {
62 public void setNode_filter(NodeFilter node_filter) {
63 this.node_filter = node_filter;
66 public Object[] getOccurrences() {
70 public void setOccurrences(Object[] occurrences) {
71 this.occurrences = occurrences;