- private static final long serialVersionUID = 1L;
-
- private static String domain;
-
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- @Column(name="id")
- private int id;
-
- @Column(name="protocolname", nullable=false)
- @OrderBy("asc")
- private String protocolName;
-
- @Column(name="description")
- private String description;
-
- public ProtocolList() {
- // Empty constructor
- }
- public ProtocolList(String string, String userid) {
- this(domain);
-
- }
- public ProtocolList(String domain) {
- // Empty constructor
- }
-
- @PrePersist
- public void prePersist() {
- // Empty function
- }
- @PreUpdate
- public void preUpdate() {
- // Empty function
- }
- public String getProtocolName() {
- return this.protocolName;
- }
-
- public void setProtocolName(String protocolName) {
- this.protocolName = protocolName;
-
- }
-
- public String getDescription() {
- return this.description;
- }