com.fatwire.gst.foundation.facade.assetapi.asset
Class AssetMapAdapter

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.fatwire.gst.foundation.facade.assetapi.asset.AssetMapAdapter
All Implemented Interfaces:
Map<String,Object>

public class AssetMapAdapter
extends AbstractMap<String,Object>
implements Map<String,Object>

This class adapts an TemplateAsset into a Map. The Map is convenient in expression languages like JSP EL.

This class uses lazy-loading, so if used in a View layer, it might open connections to the database.

In case of naming conflicts with flex attribute names and meta attribute names the meta attributes take precedent.

Since:
Nov 23,2009
Author:
Dolf.Dijkstra

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
AssetMapAdapter(TemplateAsset delegate)
           
 
Method Summary
 Set<Map.Entry<String,Object>> entrySet()
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

AssetMapAdapter

public AssetMapAdapter(TemplateAsset delegate)
Method Detail

entrySet

public Set<Map.Entry<String,Object>> entrySet()
Specified by:
entrySet in interface Map<String,Object>
Specified by:
entrySet in class AbstractMap<String,Object>


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.