org.jboss.portal.search.result.impl
Class AbstractResult
java.lang.Object
org.jboss.portal.search.result.impl.AbstractResult
- All Implemented Interfaces:
- java.lang.Comparable, Result
- Direct Known Subclasses:
- SimpleResult
public abstract class AbstractResult
- extends java.lang.Object
- implements Result, java.lang.Comparable
- Version:
- $Revision$
- Author:
- Thomas Heute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractResult
public AbstractResult(java.lang.String federatedId)
getURL
public ResultURL getURL()
- Specified by:
getURL
in interface Result
setURL
public void setURL(ResultURL url)
getFederatedId
public java.lang.String getFederatedId()
getScore
public float getScore()
- Specified by:
getScore
in interface Result
setScore
public void setScore(float score)
getTitle
public LocalizedString getTitle()
- Specified by:
getTitle
in interface Result
setTitle
public void setTitle(LocalizedString title)
getType
public LocalizedString getType()
- Specified by:
getType
in interface Result
setType
public void setType(LocalizedString type)
compareTo
public int compareTo(java.lang.Object anotherResult)
throws java.lang.ClassCastException
- Specified by:
compareTo
in interface java.lang.Comparable
- Throws:
java.lang.ClassCastException