1 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
3 import org.hibernate.validator.constraints.NotBlank;
5 import javax.validation.constraints.Pattern;
6 import javax.validation.constraints.Size;
8 public class ComputeDetailsDto implements CompositionDataEntityDto {
9 @NotBlank(message = "is mandatory and should not be empty")
10 @Size(min = 0, max = 30, message = "length should not exceed 30 characters.")
12 @Size(min = 0, max = 300, message = "length should not exceed 300 characters.")
13 private String description;
15 public ComputeDetailsDto() {
18 public String getName() {
22 public void setName(String name) {
26 public String getDescription() {
30 public void setDescription(String description) {
31 this.description = description;