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

com.googlecode.objectify.condition.PojoIf Maven / Gradle / Ivy

There is a newer version: 6.1.2
Show newest version
package com.googlecode.objectify.condition;

/**
 * 

Base class for If classes that test against a whole POJO object. This allows * partial indexes to test against field values which are not the field being indexed.

* *

The pojo will be an entity if the field is on an entity, or an embedded class * if the field is on an embedded class.

* *

All concrete instances of this interface must have either a no-arg constructor * or a constructor that takes {@code Class, Field} parameters.

* * @author Jeff Schnitzer */ abstract public class PojoIf

implements If { /* (non-Javadoc) * @see com.googlecode.objectify.condition.If#matchesPojo(java.lang.Object) */ @Override final public boolean matchesValue(Object onPojo) { return false; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy