public class ResponseUtil extends Object
| Constructor and Description |
|---|
ResponseUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.olingo.commons.api.data.Property |
createComplex(String name,
String type,
org.apache.olingo.commons.api.data.Property... properties) |
static org.apache.olingo.commons.api.data.Property |
createComplexCollection(String name,
String type,
List<org.apache.olingo.commons.api.data.Property>... propertiesList) |
static org.apache.olingo.commons.api.data.Property |
createPrimitive(String name,
String type,
Object value) |
static org.apache.olingo.commons.api.data.Property |
createPrimitiveCollection(String name,
Object... values) |
static void |
setLink(org.apache.olingo.commons.api.data.Entity entity,
String navigationPropertyName,
org.apache.olingo.commons.api.data.Entity target) |
static void |
setLinks(org.apache.olingo.commons.api.data.Entity entity,
String navigationPropertyName,
org.apache.olingo.commons.api.data.Entity... targets) |
public static org.apache.olingo.commons.api.data.Property createPrimitive(String name, String type, Object value)
public static org.apache.olingo.commons.api.data.Property createPrimitiveCollection(String name, Object... values)
public static org.apache.olingo.commons.api.data.Property createComplex(String name, String type, org.apache.olingo.commons.api.data.Property... properties)
public static org.apache.olingo.commons.api.data.Property createComplexCollection(String name, String type, List<org.apache.olingo.commons.api.data.Property>... propertiesList)
public static void setLink(org.apache.olingo.commons.api.data.Entity entity,
String navigationPropertyName,
org.apache.olingo.commons.api.data.Entity target)
public static void setLinks(org.apache.olingo.commons.api.data.Entity entity,
String navigationPropertyName,
org.apache.olingo.commons.api.data.Entity... targets)
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.