diff options
Diffstat (limited to 'common-be/src')
2 files changed, 9 insertions, 2 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java index 3345c95946..a1dda0092c 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java @@ -40,7 +40,9 @@ public class CapabilityDataDefinition extends ToscaDataDefinition { @Getter @Setter private boolean external = false; - + @Getter + @Setter + private String externalName; /** * The default constructor initializing limits of the occurrences */ @@ -91,6 +93,7 @@ public class CapabilityDataDefinition extends ToscaDataDefinition { this.setSource(other.getSource()); this.setOwnerType(other.getOwnerType()); this.setExternal(other.isExternal()); + this.setExternalName(other.getExternalName()); } public CapabilityDataDefinition(CapabilityTypeDataDefinition other) { diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java index 4b7b6aa413..a7746fb22b 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java @@ -44,7 +44,10 @@ public class RequirementDataDefinition extends ToscaDataDefinition { @Getter @Setter - public boolean external = false; + private boolean external = false; + @Getter + @Setter + private String externalName; /** * The default constructor initializing limits of the occurrences @@ -80,6 +83,7 @@ public class RequirementDataDefinition extends ToscaDataDefinition { } this.setSource(other.getSource()); this.setExternal(other.isExternal()); + this.setExternalName(other.getExternalName()); } /** |