All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dooapp.gaedo.finders.informers.BooleanFieldInformer Maven / Gradle / Ivy

package com.dooapp.gaedo.finders.informers;

import com.dooapp.gaedo.finders.QueryExpression;
import com.dooapp.gaedo.properties.Property;

public class BooleanFieldInformer extends ObjectFieldInformer {

	public BooleanFieldInformer(Property source) {
		super(source);
	}

	public QueryExpression isTrue() {
		return equalsTo(Boolean.TRUE);
	}

	public QueryExpression isFalse() {
		return equalsTo(Boolean.FALSE);
	}

	@Override
	protected BooleanFieldInformer clone() {
		return new BooleanFieldInformer(source);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy