1
2
3
4
5 package org.directdemocracyportal.democracy.model.application;
6
7 import javax.persistence.Entity;
8 import javax.persistence.Transient;
9
10 import org.directdemocracyportal.democracy.model.world.PoliticalParty;
11 import org.hibernate.annotations.Cache;
12 import org.hibernate.annotations.CacheConcurrencyStrategy;
13
14 /***
15 * The Class OnlinePoliticalParty.
16 */
17 @Entity
18 @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
19 public class OnlinePoliticalParty extends PoliticalParty
20 {
21
22 /*** The Constant serialVersionUID. */
23 private static final long serialVersionUID = 5623692616893657617L;
24
25 /***
26 * Instantiates a new online political party.
27 */
28 public OnlinePoliticalParty() {
29 }
30
31
32
33
34
35
36 @Override
37 @Transient
38 public boolean isOffline() {
39 return false;
40 }
41 }