org.odata4j.core
Class OFuncs
java.lang.Object
org.odata4j.core.OFuncs
public class OFuncs
- extends Object
A static factory to create useful generic function instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
asRunnable
public static Runnable asRunnable(Func<?> func)
edmTypeFullyQualifiedTypeName
public static Func1<EdmType,String> edmTypeFullyQualifiedTypeName()
entityPropertyValue
public static <TProperty> Func1<OEntity,TProperty> entityPropertyValue(String propName,
Class<TProperty> propClass)
name
public static <T extends Named> Func1<T,String> name(Class<T> namedType)
namedValueToProperty
public static <T> Func1<NamedValue<T>,OProperty<T>> namedValueToProperty()
namedValueToPropertyRaw
public static Func1<NamedValue,OProperty<?>> namedValueToPropertyRaw()
olinkTitle
public static Func1<OLink,String> olinkTitle()
title
public static <T extends Titled> Func1<T,String> title(Class<T> titledType)
widen
public static <T1,T2> Func1<Object,T2> widen(Func1<T1,T2> fn)
http://odata4j.org