Class StringContentMap
- java.lang.Object
-
- org.kie.server.api.marshalling.json.StringContentMap
-
- All Implemented Interfaces:
Map<String,Object>,StringContent
public class StringContentMap extends Object implements Map<String,Object>, StringContent
-
-
Constructor Summary
Constructors Constructor Description StringContentMap()StringContentMap(String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,Object>>entrySet()Objectget(Object key)StringgetContent()booleanisEmpty()Set<String>keySet()Objectput(String key, Object value)voidputAll(Map<? extends String,? extends Object> m)Objectremove(Object key)voidsetContent(String content)intsize()StringtoString()Collection<Object>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
StringContentMap
public StringContentMap()
-
StringContentMap
public StringContentMap(String content)
-
-
Method Detail
-
getContent
public String getContent()
- Specified by:
getContentin interfaceStringContent
-
setContent
public void setContent(String content)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
-