public abstract class DataInternal
extends java.lang.Object
For internal use only.
Modifier and Type | Field and Description |
---|---|
static DataType |
COMPLEX_LIST_TYPE |
static DataType |
DATA_LIST_TYPE |
static DataType |
ENTITY_LIST_TYPE |
static int |
MEDIA_PROPERTY_ETAG_ID |
static int |
MEDIA_PROPERTY_ID |
static int |
MEDIA_PROPERTY_TYPE_ID |
static int |
STREAM_PROPERTY_MAX_ETAG_ID |
static int |
STREAM_PROPERTY_MAX_TYPE_ID |
static int |
STREAM_PROPERTY_MIN_ETAG_ID |
static int |
STREAM_PROPERTY_MIN_TYPE_ID |
static java.lang.String |
xsVersion |
Constructor and Description |
---|
DataInternal() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkETag(java.lang.String tag) |
static DataValue |
defaultForDataType(DataType type) |
static DataValue |
defaultForProperty(Property property)
|
static DataValue |
defaultForProperty(Property property,
boolean required) |
static void |
fixInferred(StructureBase structure) |
static java.lang.String |
generateETag()
Return a "weak" HTTP ETag (entity tag).
|
static EntitySet |
getPartitionEntitySet(EntitySet entitySet) |
static java.lang.String |
odataTypeName(DataType type,
int dataVersion,
boolean edmPrefix,
boolean hashPrefix) |
static QueryResult |
queryResult(DataQuery query,
java.lang.Object result)
Return
result converted to QueryResult . |
static void |
setOldProperty(Property inProperty,
Property toProperty) |
static void |
setPartitionProperties(EntitySet entitySet,
EntitySet partitionEntitySet,
PropertyList partitionFromProperties,
PropertyList partitionIntoProperties) |
static void |
setRefreshProperties(EntitySet entitySet,
int cacheTimeout,
boolean refreshByDCN,
boolean refreshOnDemand,
boolean refreshOnSchedule) |
static DataValueList |
structureDataList(StructureBase structure) |
static com.sap.cloud.server.odata.core.BooleanArray |
structureHasArray(StructureBase structure) |
public static final int MEDIA_PROPERTY_ID
public static final int MEDIA_PROPERTY_ETAG_ID
public static final int MEDIA_PROPERTY_TYPE_ID
public static final int STREAM_PROPERTY_MIN_ETAG_ID
public static final int STREAM_PROPERTY_MAX_ETAG_ID
public static final int STREAM_PROPERTY_MIN_TYPE_ID
public static final int STREAM_PROPERTY_MAX_TYPE_ID
public static final java.lang.String xsVersion
public static final DataType ENTITY_LIST_TYPE
public static final DataType DATA_LIST_TYPE
public static final DataType COMPLEX_LIST_TYPE
public static boolean checkETag(java.lang.String tag)
public static DataValue defaultForProperty(Property property)
property
- Property parameter.public static void fixInferred(StructureBase structure)
public static java.lang.String generateETag()
Return a "weak" HTTP ETag (entity tag).
public static java.lang.String odataTypeName(DataType type, int dataVersion, boolean edmPrefix, boolean hashPrefix)
public static QueryResult queryResult(DataQuery query, java.lang.Object result)
Return result
converted to QueryResult
.
query
- Data query.result
- (nullable) Query result, either a QueryResult (already), or a DataValue.result
converted to QueryResult
.public static void setPartitionProperties(EntitySet entitySet, EntitySet partitionEntitySet, PropertyList partitionFromProperties, PropertyList partitionIntoProperties)
public static void setRefreshProperties(EntitySet entitySet, int cacheTimeout, boolean refreshByDCN, boolean refreshOnDemand, boolean refreshOnSchedule)
public static DataValueList structureDataList(StructureBase structure)
public static com.sap.cloud.server.odata.core.BooleanArray structureHasArray(StructureBase structure)