Sync Integ to Master
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / property / GetInputUtils.java
1 package org.openecomp.sdc.be.components.property;
2
3 import org.openecomp.sdc.be.datatypes.elements.GetInputValueDataDefinition;
4
5 public class GetInputUtils {
6
7     private GetInputUtils() {
8     }
9
10     public static boolean isGetInputValueForInput(GetInputValueDataDefinition inputData, String inputId) {
11         return inputData.getInputId().equals(inputId) || (inputData.getGetInputIndex() != null && inputData.getGetInputIndex().getInputId().equals(inputId));
12     }
13 }