package com.smartgwt.sample.client;

public class CubeGridConfig {
	String[] rowFacets;
	String[] columnFacets;
	String value;

	public String[] getRowFacets() {
		return rowFacets;
	}

	public String[] getColumnFacets() {
		return columnFacets;
	}

	public String getValue() {
		return value;
	}

	public void setRowFacets(String...rowFacets) {
		this.rowFacets = rowFacets;
	}

	public void setColumnFacets(String... columnFacets) {
		this.columnFacets = columnFacets;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Boolean isValid() {
		return rowFacets.length > 0 && columnFacets.length > 0 && value != null;
	}
}
