org.odata4j.core
Class OFuncs

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

public class OFuncs
extends Object

A static factory to create useful generic function instances.


Method Summary
static Func1<EdmEntitySet,String> edmEntitySetName()
           
static Func1<EdmEntityType,String> edmEntityTypeName()
           
static Func1<EdmProperty,String> edmPropertyName()
           
static
<TProperty>
Func1<OEntity,TProperty>
entityPropertyValue(String propName, Class<TProperty> propClass)
           
static
<T> Func1<NamedValue<T>,OProperty<T>>
namedValueToProperty()
           
static Func1<NamedValue,OProperty<?>> namedValueToPropertyRaw()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

edmEntitySetName

public static Func1<EdmEntitySet,String> edmEntitySetName()

edmEntityTypeName

public static Func1<EdmEntityType,String> edmEntityTypeName()

edmPropertyName

public static Func1<EdmProperty,String> edmPropertyName()

entityPropertyValue

public static <TProperty> Func1<OEntity,TProperty> entityPropertyValue(String propName,
                                                                       Class<TProperty> propClass)

namedValueToProperty

public static <T> Func1<NamedValue<T>,OProperty<T>> namedValueToProperty()

namedValueToPropertyRaw

public static Func1<NamedValue,OProperty<?>> namedValueToPropertyRaw()


http://odata4j.org