package railo.commons.lang.types;

/**
 * Integer Type that can be modified
 */
public final class RefBooleanImpl implements RefBoolean {//MUST add interface Castable

    private boolean value;

    /**
     * @param value
     */
    public RefBooleanImpl(boolean value) {
        this.value=value;
    }
    
    /**
     * @param value
     */
    public void setValue(boolean value) {
        this.value = value;
    }
    
    /**
     * @return returns value as Boolean Object
     */
    public Boolean toBoolean() {
        return value?Boolean.TRUE:Boolean.FALSE;
    }
    
    /**
     * @return returns value as boolean value
     */
    public boolean toBooleanValue() {
        return value;
    }
    
    /**
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return value?"true":"false";
    }
}
@@ -189,16 +189,53 @@
 value;%0A%0A
+%0A    public RefBooleanImpl() %7B%7D%0A    %0A
     /**%0A

add empty constructor