[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-license-rest / vendor-license-rest-types / src / main / java / org / openecomp / sdcrests / vendorlicense / types / FeatureGroupDescriptorDto.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.sdcrests.vendorlicense.types;
22
23 import org.hibernate.validator.constraints.NotBlank;
24
25 import javax.validation.constraints.NotNull;
26 import javax.validation.constraints.Size;
27
28 public class FeatureGroupDescriptorDto {
29   @NotNull
30   @Size(max = 120)
31   private String name;
32
33   @Size(max = 1000)
34   private String description;
35   @NotNull
36   private String partNumber;
37
38   //@NotBlank(message = "is mandatory and should not be empty")
39   @Size(max = 100)
40   private String manufacturerReferenceNumber;
41
42   public String getName() {
43     return name;
44   }
45
46   public void setName(String name) {
47     this.name = name;
48   }
49
50   public String getDescription() {
51     return description;
52   }
53
54   public void setDescription(String description) {
55     this.description = description;
56   }
57
58   public String getPartNumber() {
59     return partNumber;
60   }
61
62   public void setPartNumber(String partNumber) {
63     this.partNumber = partNumber;
64   }
65
66   public String getManufacturerReferenceNumber() {
67     return manufacturerReferenceNumber;
68   }
69
70   public void setManufacturerReferenceNumber(String manufacturerReferenceNumber) {
71     this.manufacturerReferenceNumber = manufacturerReferenceNumber;
72   }
73 }