Clean up MdcData and ImportMetadata
[sdc.git] / catalog-fe / src / main / java / org / openecomp / sdc / fe / impl / MdcData.java
index 816975f..e95f6b8 100644 (file)
@@ -1,38 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * SDC
+ * ================================================================================
+ * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * 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=========================================================
+ * Modifications copyright (c) 2019 Nokia
+ * ================================================================================
+ */
 package org.openecomp.sdc.fe.impl;
 
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+@Getter
+@AllArgsConstructor
 public class MdcData {
                private String serviceInstanceID;
                private String userId;
                private String remoteAddr;
                private String localAddr;
                private Long transactionStartTime;
-
-               public MdcData(String serviceInstanceID, String userId, String remoteAddr, String localAddr, Long transactionStartTime) {
-                       super();
-                       this.serviceInstanceID = serviceInstanceID;
-                       this.userId = userId;
-                       this.remoteAddr = remoteAddr;
-                       this.localAddr = localAddr;
-                       this.transactionStartTime = transactionStartTime;
-               }
-
-               public Long getTransactionStartTime() {
-                       return transactionStartTime;
-               }
-
-               public String getUserId() {
-                       return userId;
-               }
-
-               public String getRemoteAddr() {
-                       return remoteAddr;
-               }
-
-               public String getLocalAddr() {
-                       return localAddr;
-               }
-
-               public String getServiceInstanceID() {
-                       return serviceInstanceID;
-               }
        }
\ No newline at end of file