1 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
3 import org.hibernate.validator.constraints.NotBlank;
5 import javax.validation.constraints.Size;
7 public class ComputeDetailsDto implements CompositionDataEntityDto {
8 @NotBlank(message = "is mandatory and should not be empty")
9 @Size(min = 0, max = 30, message = "length should not exceed 30 characters.")
11 @Size(min = 0, max = 300, message = "length should not exceed 300 characters.")
12 private String description;
14 public ComputeDetailsDto() {
17 public String getName() {
21 public void setName(String name) {
25 public String getDescription() {
29 public void setDescription(String description) {
30 this.description = description;