Package com.sap.cds.impl
Class CdsDataImpl
- All Implemented Interfaces:
CdsData
,JSONizable
,Map<String,
Object>
- Direct Known Subclasses:
RowImpl
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPath
(String path) static CdsDataImpl
static CdsData
protected CdsData
entrySet()
forRemoval
(boolean remove) <T> T
getMetadata
(String key) <T> T
<T> T
getPathOrDefault
(String path, T defaultValue) boolean
<T> T
putMetadata
(String key, T value) <T> T
<T> T
putPathIfAbsent
(String path, T value) <T> T
removePath
(String path) toJson()
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.CdsData
forRemoval
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
data
-
metadata
-
-
Constructor Details
-
CdsDataImpl
-
CdsDataImpl
-
-
Method Details
-
create
-
copy
-
getMetadata
- Specified by:
getMetadata
in interfaceCdsData
-
putMetadata
- Specified by:
putMetadata
in interfaceCdsData
-
forRemoval
- Specified by:
forRemoval
in interfaceCdsData
-
isForRemoval
public boolean isForRemoval()- Specified by:
isForRemoval
in interfaceCdsData
-
containsPath
- Specified by:
containsPath
in interfaceCdsData
-
entrySet
-
put
-
removePath
- Specified by:
removePath
in interfaceCdsData
-
putPath
-
putPathIfAbsent
- Specified by:
putPathIfAbsent
in interfaceCdsData
-
get
-
getPath
-
getPathOrDefault
- Specified by:
getPathOrDefault
in interfaceCdsData
-
decorate
-
toJson
- Specified by:
toJson
in interfaceJSONizable
-