From 0e4ec678478fa791a9e4841f984b3968496b77c0 Mon Sep 17 00:00:00 2001 From: shiria Date: Mon, 22 Oct 2018 14:19:24 +0300 Subject: Update datatypes using lombok Issue-ID: SDC-1859 Change-Id: Ia7cfc86c9a0faa20a2fdbba08181b285ea3c7eef Signed-off-by: shiria --- .../translator/datatypes/TranslatorOutput.java | 40 ++++------------------ 1 file changed, 7 insertions(+), 33 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api') diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api/src/main/java/org/openecomp/core/translator/datatypes/TranslatorOutput.java b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api/src/main/java/org/openecomp/core/translator/datatypes/TranslatorOutput.java index 832f959d7e..c9169446ef 100644 --- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api/src/main/java/org/openecomp/core/translator/datatypes/TranslatorOutput.java +++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api/src/main/java/org/openecomp/core/translator/datatypes/TranslatorOutput.java @@ -1,25 +1,22 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ +/* + * Copyright © 2018 European Support Limited + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * ============LICENSE_END========================================================= */ package org.openecomp.core.translator.datatypes; +import lombok.Data; import org.openecomp.sdc.datatypes.error.ErrorMessage; import org.openecomp.sdc.tosca.datatypes.ToscaServiceModel; @@ -27,33 +24,10 @@ import java.util.List; import java.util.Map; +@Data public class TranslatorOutput { private Map> errorMessages; private ToscaServiceModel toscaServiceModel; private ToscaServiceModel nonUnifiedToscaServiceModel; - public Map> getErrorMessages() { - return errorMessages; - } - - public void setErrorMessages(Map> errorMessages) { - this.errorMessages = errorMessages; - } - - public ToscaServiceModel getToscaServiceModel() { - return toscaServiceModel; - } - - public void setToscaServiceModel(ToscaServiceModel toscaServiceModel) { - this.toscaServiceModel = toscaServiceModel; - } - - public ToscaServiceModel getNonUnifiedToscaServiceModel() { - return nonUnifiedToscaServiceModel; - } - - public void setNonUnifiedToscaServiceModel( - ToscaServiceModel nonUnifiedToscaServiceModel) { - this.nonUnifiedToscaServiceModel = nonUnifiedToscaServiceModel; - } } -- cgit 1.2.3-korg