public abstract class AbstractMutableSearchEntry extends BasicSearchEntry implements MutableSearchEntry
MutableSearchEntry
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 |
---|
AbstractMutableSearchEntry(SearchFields searchFields,
SearchDependencies searchDependencies)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setCreator(String author)
This method sets the
creator . |
void |
setCustomId(Object cid)
This method sets the
UID . |
void |
setKeywords(String keywords)
This method sets the
keywords . |
void |
setSize(long size)
This method sets the
size . |
void |
setSource(String source)
This method sets the
source . |
void |
setText(String text)
This method sets the
text . |
void |
setTitle(String title)
This method sets the
title . |
void |
setType(String type)
This method sets the
type . |
void |
setUri(String uri)
This method sets the
URI . |
getField, getField, getFieldRaw, getSearchDependencies, getSearchFields
equals, getCreator, getCustomId, getFieldAsString, getId, getSize, getSource, getText, getTitle, getType, getUri, hashCode, toString
getLogger
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setBoost, setField
getCreator, getCustomId, getField, getField, getFieldAsString, getFieldNames, getId, getSize, getSource, getText, getTitle, getType, getUri
public AbstractMutableSearchEntry(SearchFields searchFields, SearchDependencies searchDependencies)
searchFields
- are the SearchFields
.searchDependencies
- are the SearchDependencies
.public void setCreator(String author)
creator
.setCreator
in interface MutableSearchEntry
author
- is the author to set.MutableSearchEntry.setField(String, Object)
public void setKeywords(String keywords)
keywords
.setKeywords
in interface MutableSearchEntry
keywords
- are the keywords to set.MutableSearchEntry.setField(String, Object)
public void setText(String text)
text
.setText
in interface MutableSearchEntry
text
- is the text to set.MutableSearchEntry.setField(String, Object)
public void setTitle(String title)
title
.setTitle
in interface MutableSearchEntry
title
- is the title to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getTitle()
public void setType(String type)
type
.setType
in interface MutableSearchEntry
type
- is the type to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getType()
public void setSource(String source)
source
.setSource
in interface MutableSearchEntry
source
- is the source to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getSource()
public void setCustomId(Object cid)
UID
.setCustomId
in interface MutableSearchEntry
cid
- is the UID to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getCustomId()
public void setUri(String uri)
URI
.setUri
in interface MutableSearchEntry
uri
- is the URI to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getUri()
public void setSize(long size)
size
.setSize
in interface MutableSearchEntry
size
- is the size to set.MutableSearchEntry.setField(String, Object)
,
SearchEntry.getSource()
Copyright © 2001–2016 mmm-Team. All rights reserved.