Top Fields Constructors Methods
org.osgi.util.converter

pack-priv Class DynamicDTOFacade

Located in compilation unit of org.osgi.util.converter.DynamicMapLikeFacade.

extends DynamicMapLikeFacade<String, Object>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Object
private final Class<?>
private Map<String, Field>
Inherited from org.osgi.util.converter.DynamicMapLikeFacade:
convertingImpl

Constructor Summary

AccessConstructor and Description
pack-priv
DynamicDTOFacade(Object backingObject, Class<?> dtoClass, ConvertingImpl converting)

Method Summary

Modifier and TypeMethod and Description
public Object
get(Object
the key whose associated value is to be returned
key
)

Implements java.util.Map.get.

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

private Map<String, Field>
public Set<String>
keySet()

Implements java.util.Map.keySet.

Returns a Set view of the keys contained in this map.

Inherited from org.osgi.util.converter.DynamicMapLikeFacade:
clearcontainsKeycontainsValueentrySetisEmptyputputAllremovesizetoStringvalues

Field Detail

backingObjectback to summary
private final Object backingObject
dtoClassback to summary
private final Class<?> dtoClass
keysback to summary
private Map<String, Field> keys

Constructor Detail

DynamicDTOFacadeback to summary
pack-priv DynamicDTOFacade(Object backingObject, Class<?> dtoClass, ConvertingImpl converting)

Method Detail

getback to summary
public Object get(Object key)

Implements java.util.Map.get.

Doc from java.util.Map.get.

Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.

More formally, if this map contains a mapping from a key k to a value v such that Objects.equals(key, k), then this method returns v; otherwise it returns null. (There can be at most one such mapping.)

If this map permits null values, then a return value of null does not necessarily indicate that the map contains no mapping for the key; it's also possible that the map explicitly maps the key to null. The containsKey operation may be used to distinguish these two cases.

Parameters
key:Object

the key whose associated value is to be returned

Returns:Object

the value to which the specified key is mapped, or null if this map contains no mapping for the key

Annotations
@Override
getKeysback to summary
private Map<String, Field> getKeys()
keySetback to summary
public Set<String> keySet()

Implements java.util.Map.keySet.

Doc from java.util.Map.keySet.

Returns a Set view of the keys contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation), the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations.

Returns:Set<String>

a set view of the keys contained in this map

Annotations
@Override