1 package at.rseiler.spbee.core.pojo.annotation;
2
3 import at.rseiler.spbee.core.annotation.MappingConstructor;
4
5 import java.io.Serializable;
6
7
8
9
10
11
12 public class MappingConstructorData implements Serializable {
13
14 private static final long serialVersionUID = -441709829937601253L;
15
16 private final String name;
17
18 public MappingConstructorData(MappingConstructor mappingConstructor) {
19 name = mappingConstructor != null ? mappingConstructor.value() : "Default";
20 }
21
22 public String getName() {
23 return name;
24 }
25
26 @Override
27 public String toString() {
28 return "MappingConstructorData{" +
29 "name='" + name + '\'' +
30 '}';
31 }
32
33 }