[SDC] rebase 1710 code
[sdc.git] / common-be / src / main / java / org / openecomp / sdc / be / datatypes / tosca / ToscaDataDefinition.java
index eba27fb..df73ada 100644 (file)
@@ -100,4 +100,8 @@ public abstract class ToscaDataDefinition {
                return null == dataList? new HashMap<>() : dataList.stream()
                .collect(Collectors.toMap(p -> (String)p.getToscaPresentationValue(JsonPresentationFields.NAME), p -> p));
        }
+
+       public boolean findUidMatch(String uid){
+               return uid.equals(getToscaPresentationValue(JsonPresentationFields.UNIQUE_ID));
+       }
 }