Back to project page clinicalguide.
The source code is released under:
Apache License
If you think the Android project clinicalguide listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.get.oxicam.clinicalguide.xml.stats; //ww w .j a v a2 s. c o m public class StatsConstraint extends StatsSubject{ public final String data; public final StatsComparatorOperator operator; /** * Constraint used in queries. This will go in the "where" clause in the query. * (Example: Where [tablename].[columnname] [operator] '[data]' * @param tablename tablename that is in the database * @param columnname a columnname in the tablename * @param data the data to constraint to. * @param operator equal, not_equal, etc.. */ public StatsConstraint(String tablename, String columnname, String data, StatsComparatorOperator operator){ super(tablename, columnname); this.data = data; if(operator == null){ this.operator = new StatsComparatorOperator(StatsComparatorOperator.EQUAL); } else { this.operator = operator; } } }