public class

OSimpleObjects

extends Object
java.lang.Object
   ↳ org.odata4j.core.OSimpleObjects

Class Overview

A static factory to create immutable OSimpleObject instances.

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static OSimpleObject<T> create (EdmSimpleType<T> type, Object value)

Creates a new OSimpleObject instance given a type and value.

Parameters
type
value

public static String getValueDisplayString (Object value)

Returns a human-readable string value for a given object.

Parameters
value

public static OSimpleObject<V> parse (EdmSimpleType<V> type, String value)

Parses a string value into a new OSimpleObject given an edm type.

Parameters
type
value