Package lumis.doui.source
Class SourceData
- java.lang.Object
-
- lumis.doui.source.AbstractSourceData
-
- lumis.doui.source.SourceData
-
- All Implemented Interfaces:
Map<String,Object>
,ISourceData
@StableMinor(version="14.0", sinceVersion="4.0") public class SourceData extends AbstractSourceData
The default concrete implementation for theISourceData
. This implementation has a internalHashMap
to store the values. It assumes that the data key is equals to a source's field id.- Since:
- 4.0.4
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description SourceData()
Creates a source data without source associated.SourceData(Source source)
Creates a source data associated with the given source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,Object>>
entrySet()
Object
get(Object key)
boolean
isEmpty()
Set<String>
keySet()
Object
put(String key, Object value)
Object
remove(Object key)
int
size()
String
toString()
Collection<Object>
values()
-
Methods inherited from class lumis.doui.source.AbstractSourceData
convertValue, get, getValueClass, putAll
-
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
-
SourceData
public SourceData(Source source)
Creates a source data associated with the given source.- Parameters:
source
- the source that this data will belong to.- Since:
- 4.0.4
-
SourceData
public SourceData()
Creates a source data without source associated.- Parameters:
source
- the source that this data will belong to.- Since:
- 4.0.4
-
-
Method Detail
-
clear
public void clear()
-
containsKey
public boolean containsKey(Object key)
-
containsValue
public boolean containsValue(Object value)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
values
public Collection<Object> values()
-
-