diff options
Diffstat (limited to 'common-be/src/main/java')
-rw-r--r-- | common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinition.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinition.java index 4832e8b690..afcc0e6d9f 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ComponentInstanceDataDefinition.java @@ -289,6 +289,10 @@ public class ComponentInstanceDataDefinition extends ToscaDataDefinition { Boolean isProxy = (Boolean) getToscaPresentationValue(JsonPresentationFields.CI_IS_PROXY); return (isProxy != null) ? isProxy : false; } + + public Boolean isServiceSubstitution() { + return getOriginType() == OriginTypeEnum.ServiceSubstitution; + } public void setOriginArchived(Boolean originArchived) { if (originArchived == null) { |