6dddb9ac699be2eab663d3618617c9a4a5a1a051
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-license-lib / openecomp-sdc-vendor-license-core / src / main / java / org / openecomp / sdc / vendorlicense / licenseartifacts / impl / types / FeatureGroupForArtifact.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.vendorlicense.licenseartifacts.impl.types;
22
23 import org.openecomp.sdc.vendorlicense.dao.types.EntitlementPoolEntity;
24 import org.openecomp.sdc.vendorlicense.dao.types.LicenseKeyGroupEntity;
25
26 import java.util.ArrayList;
27 import java.util.Collection;
28
29 public class FeatureGroupForArtifact {
30   Collection<EntitlementPoolEntity> entitlementPoolEntities = new ArrayList<>();
31   Collection<LicenseKeyGroupEntity> licenseKeyGroupEntities = new ArrayList<>();
32   private String name;
33   private String description;
34   private String partNumber;
35   private String id;
36
37   public String getName() {
38     return name;
39   }
40
41   public String getDescription() {
42     return description;
43   }
44
45   public String getPartNumber() {
46     return partNumber;
47   }
48
49   public String getId() {
50     return id;
51   }
52
53   public Collection<EntitlementPoolEntity> getEntitlementPoolEntities() {
54     return entitlementPoolEntities;
55   }
56
57   public Collection<LicenseKeyGroupEntity> getLicenseKeyGroupEntities() {
58     return licenseKeyGroupEntities;
59   }
60 }