diff options
Diffstat (limited to 'catalog-be/src/main')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactAccessList.java | 8 | ||||
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfo.java | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactAccessList.java b/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactAccessList.java index 635a082ad8..fa3a333b44 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactAccessList.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactAccessList.java @@ -16,6 +16,8 @@ * 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.be.info; @@ -24,12 +26,14 @@ import java.util.List; public class ArtifactAccessList { + ArtifactAccessList() {} + + private List<ArtifactAccessInfo> artifacts; + public ArtifactAccessList(List<ArtifactAccessInfo> artifacts) { this.artifacts = artifacts; } - private List<ArtifactAccessInfo> artifacts; - public List<ArtifactAccessInfo> getArtifacts() { return artifacts; } diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfo.java b/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfo.java index bf257ee4f2..dcb5f428a8 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfo.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/info/ArtifactDefinitionInfo.java @@ -16,6 +16,8 @@ * 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.be.info; @@ -31,13 +33,15 @@ public class ArtifactDefinitionInfo { private String artifactVersion; private String artifactUUID; + ArtifactDefinitionInfo() { + } + public ArtifactDefinitionInfo(ArtifactDefinition artifactDefinition) { uniqueId = artifactDefinition.getUniqueId(); artifactName = artifactDefinition.getArtifactName(); artifactDisplayName = artifactDefinition.getArtifactDisplayName(); artifactVersion = artifactDefinition.getArtifactVersion(); artifactUUID = artifactDefinition.getArtifactUUID(); - } public String getUniqueId() { |