01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.utils;
07:
08: /**
09: * A simple object with a boolean property.
10: * @author Peter Kharchenko {@link <a href="mailto:pkharchenko@interactivebusiness.com">pkharchenko@interactivebusiness.com</a>}
11: * @version $Revision: 36690 $
12: */
13:
14: public class BooleanLock {
15: protected boolean flag;
16:
17: public BooleanLock() {
18: this .flag = false;
19: }
20:
21: public BooleanLock(boolean value) {
22: this .flag = value;
23: }
24:
25: public boolean getValue() {
26: return flag;
27: }
28:
29: public void setValue(boolean value) {
30: this.flag = value;
31: }
32:
33: }
|