/*
 * Copyright (c) 2009-2013 Topi Nieminen
 */
package fi.tnie.db.model;

public interface ValueModel<V> {	
	public V get();		
	Registration addChangeHandler(ChangeListener<V> ch);	
}

@@ -72,60 +72,309 @@
 l;%0A%0A
-public interface ValueModel%3CV%3E %7B%09%0A%09public V get();%09%09
+%0A/**%0A * Value represents a value of monitorable value.%0A * %0A * @author tnie%0A *%0A * @param %3CV%3E Type of the value.%0A */%0Apublic interface ValueModel%3CV%3E %7B%09%0A%09/** %0A%09 * Current value of the model.%0A%09 * %0A%09 * @return%0A%09 */%0A%09V get();%0A%09%0A%09/**%0A%09 * Registers listener for value changes.   %0A%09 * @param ch%0A%09 * @return%0A%09 */
 %0A%09Re

Add comments