summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheetalm <sheetal.mudholkar@amdocs.com>2017-12-12 12:15:09 +0530
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2017-12-12 15:54:17 +0000
commit35fc1dbce7f532c2ffca2078e8885cd572e6e566 (patch)
tree72a12330fe03c63eca44e101afb0137684a0ca71
parent29a456fd248ecf4178d85e2f914975fafc4c4093 (diff)
Fixed sonar issues - EnrichedServiceArtifactEntity
Add override annotations to methods. Remove no arg default constructor Corrected Copyright. Not fixing duplicate code violation since same code block exists but for different entities Change-Id: Idb1d58396b40205cc534cec56f26a2914f58b9c3 Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
-rw-r--r--openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceArtifactEntity.java21
1 files changed, 9 insertions, 12 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceArtifactEntity.java b/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceArtifactEntity.java
index 0e30c749fc..d3d125b849 100644
--- a/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceArtifactEntity.java
+++ b/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceArtifactEntity.java
@@ -1,21 +1,17 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
+/*
+ * Copyright © 2016-2017 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.model.types;
@@ -62,9 +58,6 @@ public class EnrichedServiceArtifactEntity implements ServiceElementEntity {
@Column(name = "content_data")
public ByteBuffer contentData;
- public EnrichedServiceArtifactEntity() {
- }
-
/**
* Instantiates a new Enriched service artifact entity.
*
@@ -97,10 +90,12 @@ public class EnrichedServiceArtifactEntity implements ServiceElementEntity {
return getId();
}
+ @Override
public String getId() {
return id;
}
+ @Override
public void setId(String id) {
this.id = id;
}
@@ -115,6 +110,7 @@ public class EnrichedServiceArtifactEntity implements ServiceElementEntity {
this.version = version;
}
+ @Override
public String getName() {
return name;
}
@@ -123,6 +119,7 @@ public class EnrichedServiceArtifactEntity implements ServiceElementEntity {
this.name = name;
}
+ @Override
public ByteBuffer getContentData() {
return contentData;
}