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