public class VariablesMap extends Object implements Map<String,TypedValue>, DebugDumpable
INDENT_STRING
Constructor and Description |
---|
VariablesMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
static VariablesMap |
create(PrismContext prismContext,
Object... parameters)
Expects name-value-definition triples.
|
String |
debugDump(int indent) |
String |
dumpSingleLine() |
static VariablesMap |
emptyMap() |
Set<Map.Entry<String,TypedValue>> |
entrySet() |
boolean |
equals(Object o) |
protected void |
fillIn(PrismContext prismContext,
Object... parameters)
Expects name-value-definition triples.
|
String |
formatVariables() |
TypedValue |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
<T> TypedValue |
put(String key,
Object value,
Class<T> typeClass)
Note: Type of the value should really be Object and not T.
|
<D extends ItemDefinition> |
put(String key,
Object value,
D definition) |
TypedValue |
put(String key,
TypedValue typedValue) |
void |
putAll(Map<? extends String,? extends TypedValue> m) |
<T> TypedValue<List<T>> |
putList(String key,
List<T> list)
Convenience method to put multivalue variables (lists).
|
<O extends ObjectType> |
putObject(String key,
O objectType,
Class<O> expectedClass)
Convenience method to put objects with definition.
|
<O extends ObjectType> |
putObject(String key,
PrismObject<O> object,
Class<O> expectedClass)
Convenience method to put objects with definition.
|
TypedValue |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<TypedValue> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
debugDump, debugDumpLazily, debugDumpLazily
public int size()
size
in interface Map<String,TypedValue>
public boolean isEmpty()
isEmpty
in interface Map<String,TypedValue>
public boolean containsKey(Object key)
containsKey
in interface Map<String,TypedValue>
public boolean containsValue(Object value)
containsValue
in interface Map<String,TypedValue>
public TypedValue get(Object key)
get
in interface Map<String,TypedValue>
public TypedValue put(String key, TypedValue typedValue)
put
in interface Map<String,TypedValue>
public <D extends ItemDefinition> TypedValue put(String key, Object value, D definition)
public <T> TypedValue put(String key, Object value, Class<T> typeClass)
public <O extends ObjectType> TypedValue<O> putObject(String key, O objectType, Class<O> expectedClass)
public <O extends ObjectType> TypedValue<O> putObject(String key, PrismObject<O> object, Class<O> expectedClass)
public <T> TypedValue<List<T>> putList(String key, List<T> list)
public TypedValue remove(Object key)
remove
in interface Map<String,TypedValue>
public void putAll(Map<? extends String,? extends TypedValue> m)
putAll
in interface Map<String,TypedValue>
public void clear()
clear
in interface Map<String,TypedValue>
public Collection<TypedValue> values()
values
in interface Map<String,TypedValue>
public Set<Map.Entry<String,TypedValue>> entrySet()
entrySet
in interface Map<String,TypedValue>
public static VariablesMap create(PrismContext prismContext, Object... parameters)
protected void fillIn(PrismContext prismContext, Object... parameters)
public static VariablesMap emptyMap()
public boolean equals(Object o)
public int hashCode()
public String formatVariables()
public String dumpSingleLine()
public String debugDump(int indent)
debugDump
in interface DebugDumpable
Copyright © 2019 Evolveum. All rights reserved.