KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > util > Mutable


1 /***************************************
2  * *
3  * JBoss: The OpenSource J2EE WebOS *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9
10 package org.jboss.util;
11
12 /**
13  * Mutable object interface.
14  *
15  * @version <tt>$Revision: 1.2 $</tt>
16  * @author <a HREF="mailto:jason@planet57.com">Jason Dillon</a>
17  */

18 public interface Mutable
19 {
20    /**
21     * Set the value of a mutable object.
22     *
23     * @param value Target value for object.
24     */

25    void setValue(Object JavaDoc value);
26
27    /**
28     * Get the value of a mutable object.
29     *
30     * @return Object value.
31     */

32    Object JavaDoc getValue();
33 }
34
Popular Tags