![JAR search and dependency download from the Maven repository](/logo.png)
io.pelle.mango.db.voquery.predicates.AttributeDescriptorNamePredicate Maven / Gradle / Ivy
The newest version!
package io.pelle.mango.db.voquery.predicates;
import io.pelle.mango.client.base.vo.IAttributeDescriptor;
import com.google.common.base.Predicate;
public class AttributeDescriptorNamePredicate implements Predicate> {
private String name;
public AttributeDescriptorNamePredicate(String name) {
super();
this.name = name;
}
@Override
public boolean apply(IAttributeDescriptor> attributeDescriptor) {
if (attributeDescriptor.getAttributeName().toLowerCase().equals(name.toLowerCase())) {
return true;
}
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy