package com.openrules.forms.gui.impl;

public class Option
{
	private String string;
	private boolean checked;
	/**
	 * 
	 */
	public Option(String s, boolean b)
	{
		string =s;
		checked = b;
	}
	
	public Option(String s)
	{
		string =s;
		checked = false;
	}
	
	public String getString() {
		return string;
	}
	
	public void setString(String string) {
		this.string = string;
	}
	
	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	public void check() {
		setChecked(true);
	}
	
	public void unCheck() {
		setChecked(false);
	}
}