public class J {

    private boolean active;

    public boolean isActive() {
        return active;
    }

    public boolean setActive(boolean value) {
        active = value;
        return active;
    }
}