net.sf.eos.search
Class LookupEntry

java.lang.Object
  extended by net.sf.eos.search.LookupEntry
All Implemented Interfaces:
Metadata

public class LookupEntry
extends Object
implements Metadata

Bean holder for lookup data.

Author:
Sascha Kohlmann

Constructor Summary
LookupEntry()
           
 
Method Summary
 String getCommonName()
          Returns the common name of a named entity.
 String getId()
          Returns the ID of the entry.
 Map<String,List<String>> getMeta()
          Returns the metadata of an entry.
 float getRelevance()
          Returns the relevance of the entry.
 void setCommonName(String commonName)
          Sets the common name of the entry.
 void setId(String id)
          Sets the ID of the entry.
 void setRelevance(float relevance)
          Sets the relevance of the entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupEntry

public LookupEntry()
Method Detail

getId

public String getId()
Returns the ID of the entry.

Returns:
the ID of the entry

getCommonName

public String getCommonName()
Returns the common name of a named entity.

Returns:
the common name of a named entity

getRelevance

public float getRelevance()
Returns the relevance of the entry.

Returns:
the relevance of the entry

getMeta

public Map<String,List<String>> getMeta()
Returns the metadata of an entry.

Specified by:
getMeta in interface Metadata
Returns:
the metadata of an entry.

setId

public void setId(String id)
Sets the ID of the entry.

Parameters:
id - the ID of the entry

setCommonName

public void setCommonName(String commonName)
Sets the common name of the entry.

Parameters:
commonName - the common name of the entry

setRelevance

public void setRelevance(float relevance)
Sets the relevance of the entry.

Parameters:
relevance - the relevance of the entry


Copyright © 2008. All Rights Reserved.