org.odata4j.core
Class OProperties

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

public class OProperties
extends Object


Constructor Summary
OProperties()
           
 
Method Summary
static OProperty<byte[]> binary(String name, byte[] value)
           
static OProperty<Boolean> boolean_(String name, Boolean value)
           
static OProperty<Byte> byte_(String name, byte value)
           
static OProperty<List<OProperty<?>>> complex(String name, String type, List<OProperty<?>> value)
           
static OProperty<LocalDateTime> datetime(String name, Date value)
           
static OProperty<LocalDateTime> datetime(String name, LocalDateTime value)
           
static OProperty<BigDecimal> decimal(String name, BigDecimal value)
           
static OProperty<BigDecimal> decimal(String name, double value)
           
static OProperty<BigDecimal> decimal(String name, long value)
           
static OProperty<Double> double_(String name, Double value)
           
static OProperty<Guid> guid(String name, Guid value)
           
static OProperty<Guid> guid(String name, String value)
           
static OProperty<Short> int16(String name, Short value)
           
static OProperty<Integer> int32(String name, Integer value)
           
static OProperty<Long> int64(String name, Long value)
           
static OProperty<?> null_(String name, String type)
           
static OProperty<?> parse(String name, String type, String value)
           
static OProperty<Short> short_(String name, Short value)
           
static
<T> OProperty<?>
simple(String name, EdmType type, T value)
           
static OProperty<Float> single(String name, Float value)
           
static OProperty<String> string(String name, String value)
           
static OProperty<LocalTime> time(String name, LocalTime value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OProperties

public OProperties()
Method Detail

binary

public static OProperty<byte[]> binary(String name,
                                       byte[] value)

boolean_

public static OProperty<Boolean> boolean_(String name,
                                          Boolean value)

byte_

public static OProperty<Byte> byte_(String name,
                                    byte value)

complex

public static OProperty<List<OProperty<?>>> complex(String name,
                                                    String type,
                                                    List<OProperty<?>> value)

datetime

public static OProperty<LocalDateTime> datetime(String name,
                                                Date value)

datetime

public static OProperty<LocalDateTime> datetime(String name,
                                                LocalDateTime value)

decimal

public static OProperty<BigDecimal> decimal(String name,
                                            BigDecimal value)

decimal

public static OProperty<BigDecimal> decimal(String name,
                                            double value)

decimal

public static OProperty<BigDecimal> decimal(String name,
                                            long value)

double_

public static OProperty<Double> double_(String name,
                                        Double value)

guid

public static OProperty<Guid> guid(String name,
                                   Guid value)

guid

public static OProperty<Guid> guid(String name,
                                   String value)

int16

public static OProperty<Short> int16(String name,
                                     Short value)

int32

public static OProperty<Integer> int32(String name,
                                       Integer value)

int64

public static OProperty<Long> int64(String name,
                                    Long value)

null_

public static OProperty<?> null_(String name,
                                 String type)

parse

public static OProperty<?> parse(String name,
                                 String type,
                                 String value)

short_

public static OProperty<Short> short_(String name,
                                      Short value)

simple

public static <T> OProperty<?> simple(String name,
                                      EdmType type,
                                      T value)

single

public static OProperty<Float> single(String name,
                                      Float value)

string

public static OProperty<String> string(String name,
                                       String value)

time

public static OProperty<LocalTime> time(String name,
                                        LocalTime value)


http://odata4j.org