package htm;

/**
 *
 * @author davec
 * @param <T>
 */
public abstract class Input<T> {
    
    private final String id;
    private T value;

    public Input(String id) {
        this.id = id;
    }    
    
    public abstract String getDisplayString();
    
    public final String getId() {
        return this.id;
    }

    public final T getValue() {
        return this.value;
    }
    
    public abstract boolean isActive();
    
    public final void setValue (T value) {
        this.value = value;
    }
}

@@ -11,16 +11,61 @@
 m;%0A%0A/**%0A
+ * TBD: rename to be something like %22value%22?%0A
  *%0A * @a

Add comment/future suggestion