hirondelle.predict.pub.search
Class SearchResult
Object
hirondelle.predict.pub.search.SearchResult
public final class SearchResult
- extends Object
Simple data carrier for search results. Does no validation.
SearchResult
public SearchResult(SafeText aText,
Id aOutcome,
DateTime aCreationDate,
SafeText aCreatorScreenName,
Id aPredictionListId)
throws ModelCtorException
- Constructor.
- Parameters:
aText
- the text of the prediction (required)aOutcome
- the outcome of the prediction, if any (optional)aCreationDate
- the date the prediction was made (required)aCreatorScreenName
- the screen name of the user who made the predictionaPredictionListId
- id of the prediction list that contains the prediction (required)
- Throws:
ModelCtorException
getText
public SafeText getText()
getOutcome
public Code getOutcome()
getCreationDate
public DateTime getCreationDate()
getCreatorScreenName
public SafeText getCreatorScreenName()
getPredictionListId
public Id getPredictionListId()
toString
public String toString()
- Intended for debugging only.
- Overrides:
toString
in class Object
equals
public boolean equals(Object aThat)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright Hirondelle Systems - Generated 2013Oct19.12.27