org.odata4j.core
Class OFunctionParameters

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

public class OFunctionParameters
extends Object

A static factory to create immutable OFunctionParameter instances.


Method Summary
static
<T> OFunctionParameter
create(String name, T value)
          Creates a new OFunctionParameter, inferring the edm-type from the value provided, which cannot be null.
static OFunctionParameter parse(String name, EdmType type, String value)
          Creates a new OFunctionParameter by parsing a string value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T> OFunctionParameter create(String name,
                                            T value)
Creates a new OFunctionParameter, inferring the edm-type from the value provided, which cannot be null.

Type Parameters:
T - the property value's java-type
Parameters:
name - the property name
value - the property value
Returns:
a new OData property instance

parse

public static OFunctionParameter parse(String name,
                                       EdmType type,
                                       String value)
Creates a new OFunctionParameter by parsing a string value



http://odata4j.org