diff options
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src')
2 files changed, 8 insertions, 11 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java index 1b3a5cb445..0632cabaa1 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionVersionDto.java @@ -20,9 +20,6 @@ package org.openecomp.sdcrests.action.types; -/** - * Defines DTO for capturing input for versioning operations. - */ public class ActionVersionDto { String status; diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ListResponseWrapper.java b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ListResponseWrapper.java index 0ae8504db5..7d7a4b3106 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ListResponseWrapper.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ListResponseWrapper.java @@ -20,19 +20,19 @@ package org.openecomp.sdcrests.action.types; -import org.openecomp.sdc.action.types.EcompComponent; +import org.openecomp.sdc.action.types.OpenEcompComponent; import java.util.ArrayList; import java.util.List; /** - * Defines DTO used for creating Response with list of {@link ActionResponseDto } - * or list of {@link EcompComponent }. + * Defines DTO used for creating Response with list of {@link ActionResponseDto } or list of {@link + * openEcompComponent }. */ public class ListResponseWrapper { List<ActionResponseDto> actionList; - List<EcompComponent> componentList; + List<OpenEcompComponent> componentList; List<ActionResponseDto> versions; @@ -56,15 +56,15 @@ public class ListResponseWrapper { this.actionList = actionList; } - public List<EcompComponent> getComponentList() { + public List<OpenEcompComponent> getComponentList() { return componentList; } - public void setComponentList(List<EcompComponent> componentList) { + public void setComponentList(List<OpenEcompComponent> componentList) { this.componentList = componentList; } - public void add(ActionResponseDto e0) { - this.getActionList().add(e0); + public void add(ActionResponseDto exception) { + this.getActionList().add(exception); } } |