summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib
diff options
context:
space:
mode:
authorshiria <shiri.amichai@amdocs.com>2018-10-22 14:19:24 +0300
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-10-22 11:57:01 +0000
commit0e4ec678478fa791a9e4841f984b3968496b77c0 (patch)
tree48befc7df05abdb1f9aa18634f15b1c35a5b59fc /openecomp-be/lib/openecomp-sdc-translator-lib
parent776213b26ad024101a464c169273c05129af226f (diff)
Update datatypes using lombok
Issue-ID: SDC-1859 Change-Id: Ia7cfc86c9a0faa20a2fdbba08181b285ea3c7eef Signed-off-by: shiria <shiri.amichai@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-api/src/main/java/org/openecomp/core/translator/datatypes/TranslatorOutput.java40
1 files changed, 7 insertions, 33 deletions
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<String, List<ErrorMessage>> errorMessages;
private ToscaServiceModel toscaServiceModel;
private ToscaServiceModel nonUnifiedToscaServiceModel;
- public Map<String, List<ErrorMessage>> getErrorMessages() {
- return errorMessages;
- }
-
- public void setErrorMessages(Map<String, List<ErrorMessage>> 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;
- }
}