|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.odata4j.core.OSimpleObjects
public class OSimpleObjects
A static factory to create immutable OSimpleObject instances.
| Method Summary | ||
|---|---|---|
static
|
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
|
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 |
|---|
public static <T> OSimpleObject<T> create(EdmSimpleType<T> type,
Object value)
OSimpleObject instance given a type and value.
public static String getValueDisplayString(Object value)
public static <V> OSimpleObject<V> parse(EdmSimpleType<V> type,
String value)
OSimpleObject given an edm type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||