org.odata4j.core
Class OPredicates

java.lang.Object
  extended by org.odata4j.core.OPredicates

public class OPredicates
extends Object

A static factory to create useful generic predicate instances.


Method Summary
static Predicate1<EdmProperty> edmPropertyNameEquals(String name)
           
static Predicate1<EdmStructuralType> edmSubTypeOf(EdmStructuralType t)
           
static Predicate1<OEntity> entityPropertyValueEquals(String propName, Object value)
           
static Predicate1<String> equalsIgnoreCase(String value)
           
static Predicate1<OLink> linkTitleEquals(String title)
           
static
<T extends Named>
Predicate1<T>
nameEquals(Class<T> namedType, String name)
           
static Predicate1<OProperty<?>> propertyNameEquals(String propName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

edmPropertyNameEquals

public static Predicate1<EdmProperty> edmPropertyNameEquals(String name)

edmSubTypeOf

public static Predicate1<EdmStructuralType> edmSubTypeOf(EdmStructuralType t)

entityPropertyValueEquals

public static Predicate1<OEntity> entityPropertyValueEquals(String propName,
                                                            Object value)

equalsIgnoreCase

public static Predicate1<String> equalsIgnoreCase(String value)

linkTitleEquals

public static Predicate1<OLink> linkTitleEquals(String title)

nameEquals

public static <T extends Named> Predicate1<T> nameEquals(Class<T> namedType,
                                                         String name)

propertyNameEquals

public static Predicate1<OProperty<?>> propertyNameEquals(String propName)


http://odata4j.org