public class AssetMap extends Object implements Map<String,Object>
asset.propName
. Try to access the property name from the Asset object. key = fileName, returned value is Asset.getFileName(). If not found try to access the value based on the Metadata map. key = contributor, returned value is metadataMap.get('contributor'). If not part of the MetadataMap, return an empty String.By convenience
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object arg0) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String arg0,
Object arg1) |
void |
putAll(Map<? extends String,? extends Object> arg0) |
Object |
remove(Object arg0) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object arg0)
containsValue
in interface Map<String,Object>
Copyright © 2016 Magnolia International Ltd.. All rights reserved.