Package cz.o2.proxima.core.scheme
Class AttributeValueAccessors.StructureValueImpl
- java.lang.Object
-
- cz.o2.proxima.core.scheme.AttributeValueAccessors.StructureValueImpl
-
- All Implemented Interfaces:
AttributeValueAccessors.StructureValue
,java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- AttributeValueAccessors
public static class AttributeValueAccessors.StructureValueImpl extends java.lang.Object implements AttributeValueAccessors.StructureValue
Default implementation ofAttributeValueAccessors.StructureValueAccessor
delegates methods to Map.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>>
entrySet()
java.lang.Object
get(java.lang.Object key)
<V> V
get(java.lang.String name)
Type hinted get for fieldboolean
isEmpty()
java.util.Set<java.lang.String>
keySet()
java.lang.Object
put(java.lang.String key, java.lang.Object value)
void
putAll(java.util.Map<? extends java.lang.String,?> m)
java.lang.Object
remove(java.lang.Object key)
int
size()
java.util.Map<java.lang.String,java.lang.Object>
value()
Return map with valuesjava.util.Collection<java.lang.Object>
values()
-
-
-
Method Detail
-
value
public java.util.Map<java.lang.String,java.lang.Object> value()
Description copied from interface:AttributeValueAccessors.StructureValue
Return map with values- Specified by:
value
in interfaceAttributeValueAccessors.StructureValue
- Returns:
- map where key represents fields
-
get
public <V> V get(java.lang.String name)
Description copied from interface:AttributeValueAccessors.StructureValue
Type hinted get for field- Specified by:
get
in interfaceAttributeValueAccessors.StructureValue
- Type Parameters:
V
- returned type- Parameters:
name
- name of field- Returns:
- value of field
-
size
public int size()
- Specified by:
size
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
put
public java.lang.Object put(java.lang.String key, java.lang.Object value)
- Specified by:
put
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
putAll
public void putAll(java.util.Map<? extends java.lang.String,?> m)
- Specified by:
putAll
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
keySet
public java.util.Set<java.lang.String> keySet()
- Specified by:
keySet
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
values
public java.util.Collection<java.lang.Object> values()
- Specified by:
values
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<java.lang.String,java.lang.Object>
-
-