org.odata4j.core
Class OSimpleObjects

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

public class OSimpleObjects
extends Object

A static factory to create immutable OSimpleObject instances.


Method Summary
static
<T> OSimpleObject<T>
create(EdmSimpleType<T> type, Object value)
          Creates a new OSimpleObject instance given a type and value.
static String getValueDisplayString(Object value)
          Returns a human-readable string value for a given object.
static
<V> OSimpleObject<V>
parse(EdmSimpleType<V> type, String value)
          Parses a string value into a new OSimpleObject given an edm type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T> OSimpleObject<T> create(EdmSimpleType<T> type,
                                          Object value)
Creates a new OSimpleObject instance given a type and value.


getValueDisplayString

public static String getValueDisplayString(Object value)
Returns a human-readable string value for a given object.


parse

public static <V> OSimpleObject<V> parse(EdmSimpleType<V> type,
                                         String value)
Parses a string value into a new OSimpleObject given an edm type.



http://odata4j.org