diff options
author | sheetalm <sheetal.mudholkar@amdocs.com> | 2017-12-12 17:43:03 +0530 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2017-12-12 16:12:01 +0000 |
commit | e748ab9f9daa34685d315b1a74933c699e9ea914 (patch) | |
tree | 54743bc4ae15dd283cfc866334e4e2f838f641bf /openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src | |
parent | 2e24e76c6b93adab4cea9004e98ac7f675d43e48 (diff) |
Fixed sonar issues - EnrichedServiceTemplateEntity
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: Ie718ed87dac2be84257e9cedfa20fb98857f907e
Issue-ID: SDC-343
Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceTemplateEntity.java | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceTemplateEntity.java b/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceTemplateEntity.java index 0ebd27fe40..c837a70c36 100644 --- a/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceTemplateEntity.java +++ b/openecomp-be/lib/openecomp-sdc-model-lib/openecomp-sdc-model-api/src/main/java/org/openecomp/core/model/types/EnrichedServiceTemplateEntity.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; @@ -66,10 +62,6 @@ public class EnrichedServiceTemplateEntity implements ServiceElementEntity { @Column(name = "base_name") private String baseName; - public EnrichedServiceTemplateEntity() { - } - - /** * Instantiates a new Enriched service template entity. * @@ -110,10 +102,12 @@ public class EnrichedServiceTemplateEntity implements ServiceElementEntity { return getId(); } + @Override public String getId() { return id; } + @Override public void setId(String id) { this.id = id; } @@ -128,6 +122,7 @@ public class EnrichedServiceTemplateEntity implements ServiceElementEntity { this.version = version; } + @Override public String getName() { return name; } @@ -136,6 +131,7 @@ public class EnrichedServiceTemplateEntity implements ServiceElementEntity { this.name = name; } + @Override public ByteBuffer getContentData() { return contentData; } |