public abstract class AbstractSearchEntry extends AbstractLoggableObject implements SearchEntry
SearchEntry interface.FIELD_CREATOR, FIELD_CUSTOM_ID, FIELD_ID, FIELD_KEYWORDS, FIELD_LANGUAGE, FIELD_SIZE, FIELD_SOURCE, FIELD_TEXT, FIELD_TITLE, FIELD_TYPE, FIELD_URI| Constructor and Description |
|---|
AbstractSearchEntry()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getCreator()
This method gets the author of this entry.
|
Object |
getCustomId()
This method gets the value of the
custom-ID field. |
String |
getFieldAsString(String name)
This method is a shortcut for
. |
Long |
getId()
This method gets the ID used to identify this object.
|
Long |
getSize()
This method gets the size of the content.
|
String |
getSource()
This method gets the value of the
source field. |
String |
getText()
This method gets the value of the
text field. |
String |
getTitle()
This method gets the value of the
title field. |
String |
getType()
This method gets the value of the
type field. |
String |
getUri()
This method gets the value of the
SearchEntry.FIELD_URI. |
int |
hashCode() |
String |
toString() |
getLoggerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetField, getField, getFieldNamespublic String getTitle()
title field.getTitle in interface SearchEntrySearchEntry.FIELD_TITLEpublic String getUri()
SearchEntry.FIELD_URI.getUri in interface SearchEntrySearchEntry.FIELD_URIpublic Long getId()
getId in interface SearchEntrygetId in interface AttributeReadId<Long>null if the entry is transient and has not yet been added to
the search-index (made persistent).SearchEntry.FIELD_IDpublic Object getCustomId()
custom-ID field.getCustomId in interface SearchEntrynull if NOT available.SearchEntry.FIELD_CUSTOM_IDpublic String getText()
text field.getText in interface SearchEntrySearchEntry.FIELD_TEXTpublic String getType()
type field.getType in interface SearchEntrynull if NOT available.SearchEntry.FIELD_TYPEpublic String getCreator()
getCreator in interface SearchEntrynull if NOT available.SearchEntry.FIELD_CREATORpublic String getSource()
source field.getSource in interface SearchEntrynull if NOT available.SearchEntry.FIELD_SOURCEpublic Long getSize()
getSize in interface SearchEntrynull if NOT available.SearchEntry.FIELD_SIZEpublic String getFieldAsString(String name)
getField(name, String.class).getFieldAsString in interface SearchEntryname - is the name of the
requested field.null if no field exists for the given
name.Copyright © 2001–2016 mmm-Team. All rights reserved.