lumis.doui.source
Class SourceData

Package class diagram package SourceData
java.lang.Object
  extended by lumis.doui.source.AbstractSourceData
      extended by lumis.doui.source.SourceData
All Implemented Interfaces:
Map<String,Object>, ISourceData

@StableMinor(version="5.5",
             sinceVersion="4.0")
public class SourceData
extends AbstractSourceData

The default concrete implementation for the ISourceData. This implementation has a internal HashMap to store the values. It assumes that the data key is equals to a source's field id.

Since:
4.0.4

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  Map<String,Object> dataMap
          The internal data Map that the call are delegated to.
 
Fields inherited from class lumis.doui.source.AbstractSourceData
source
 
Constructor Summary
SourceData()
          Creates a source data without source associated.
SourceData(Source source)
          Creates a source data associated with the given source.
 
Method Summary
 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()
           
 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, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

dataMap

protected final Map<String,Object> dataMap
The internal data Map that the call are delegated to.

Since:
4.0.4
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)

entrySet

public Set<Map.Entry<String,Object>> entrySet()

get

public Object get(Object key)

isEmpty

public boolean isEmpty()

keySet

public Set<String> keySet()

put

public Object put(String key,
                  Object value)

remove

public Object remove(Object key)

size

public int size()

values

public Collection<Object> values()


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.