1
2
3
4 package de.tivsource.page.common.menuentry;
5
6 import javax.persistence.Basic;
7 import javax.persistence.Entity;
8 import javax.persistence.Inheritance;
9 import javax.persistence.InheritanceType;
10
11 import org.hibernate.envers.Audited;
12
13 import de.tivsource.page.entity.namingitem.NamingItem;
14
15
16
17
18
19 @Audited
20 @Entity
21 @Inheritance(strategy = InheritanceType.JOINED)
22 public abstract class MenuEntry extends NamingItem {
23
24 @Basic
25 @org.hibernate.annotations.Type(type = "yes_no")
26 private Boolean topNavigation;
27
28 private Integer topNavigationOrder = 100;
29
30 @Basic
31 @org.hibernate.annotations.Type(type = "yes_no")
32 private Boolean navigation;
33
34 private Integer navigationOrder = 100;
35
36 @Basic
37 @org.hibernate.annotations.Type(type = "yes_no")
38 private Boolean bottomNavigation;
39
40 private Integer bottomNavigationOrder = 100;
41
42 @Basic
43 @org.hibernate.annotations.Type(type = "yes_no")
44 private Boolean responsiveNavigation;
45
46 private Integer responsiveNavigationOrder = 100;
47
48 public Boolean getTopNavigation() {
49 return topNavigation;
50 }
51
52 public void setTopNavigation(Boolean topNavigation) {
53 this.topNavigation = topNavigation;
54 }
55
56 public Integer getTopNavigationOrder() {
57 return topNavigationOrder;
58 }
59
60 public void setTopNavigationOrder(Integer topNavigationOrder) {
61 this.topNavigationOrder = topNavigationOrder;
62 }
63
64 public Boolean getNavigation() {
65 return navigation;
66 }
67
68 public void setNavigation(Boolean navigation) {
69 this.navigation = navigation;
70 }
71
72 public Integer getNavigationOrder() {
73 return navigationOrder;
74 }
75
76 public void setNavigationOrder(Integer navigationOrder) {
77 this.navigationOrder = navigationOrder;
78 }
79
80 public Boolean getBottomNavigation() {
81 return bottomNavigation;
82 }
83
84 public void setBottomNavigation(Boolean bottomNavigation) {
85 this.bottomNavigation = bottomNavigation;
86 }
87
88 public Integer getBottomNavigationOrder() {
89 return bottomNavigationOrder;
90 }
91
92 public void setBottomNavigationOrder(Integer bottomNavigationOrder) {
93 this.bottomNavigationOrder = bottomNavigationOrder;
94 }
95
96 public Boolean getResponsiveNavigation() {
97 return responsiveNavigation;
98 }
99
100 public void setResponsiveNavigation(Boolean responsiveNavigation) {
101 this.responsiveNavigation = responsiveNavigation;
102 }
103
104 public Integer getResponsiveNavigationOrder() {
105 return responsiveNavigationOrder;
106 }
107
108 public void setResponsiveNavigationOrder(Integer responsiveNavigationOrder) {
109 this.responsiveNavigationOrder = responsiveNavigationOrder;
110 }
111
112 public abstract String getUrl();
113
114 }