01: package org.acegisecurity.annotation;
02:
03: /**
04: *
05: * @author Joe Scalise
06: */
07: public class Department extends Entity {
08: //~ Instance fields ========================================================
09:
10: private boolean active = true;
11:
12: //~ Constructors ===========================================================
13:
14: public Department(String name) {
15: super (name);
16: }
17:
18: //~ Methods ================================================================
19:
20: public boolean isActive() {
21: return this .active;
22: }
23:
24: void deactive() {
25: this .active = true;
26: }
27:
28: }
|