Sha256: 659f11eead6ffeb0ce2e517c47fb5c2886b76dd9343ca914a9a1b4e9507b7a08

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

/*
Copyright Ideaconsult Ltd. (C) 2005-2007  
Contact: nina@acad.bg

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

*/


package toxTree.data;

import toxTree.core.IDecisionCategory;
import toxTree.exceptions.FilterException;

public class CategoryFilter extends ObjectPropertyFilter {

	public CategoryFilter(Object property, IDecisionCategory category) throws FilterException {
		super(property,category.toString());
	}
	public CategoryFilter(Object property, String category) throws FilterException {
		super(property,category);
	}	
	@Override
	public String toString() {
		return getTag() + " = " + getValue().toString();
	}
}


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toxtree-0.0.1 Toxtree-v2.6.13/src/toxTree/data/CategoryFilter.java