Class DocumentModelResultItem
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Serializable>
-
- org.nuxeo.ecm.core.search.api.client.search.results.impl.DocumentModelResultItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Serializable>
,ResultItem
public class DocumentModelResultItem extends HashMap<String,Serializable> implements ResultItem
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description DocumentModel
doc
-
Constructor Summary
Constructors Constructor Description DocumentModelResultItem(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
getDocumentModel()
String
getName()
Return the name of the result item.-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
doc
public final DocumentModel doc
-
-
Constructor Detail
-
DocumentModelResultItem
public DocumentModelResultItem(DocumentModel doc)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ResultItem
Return the name of the result item.- Specified by:
getName
in interfaceResultItem
- Returns:
- the name of the result item.
-
getDocumentModel
public DocumentModel getDocumentModel()
-
-