|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dmt.op.re.reapi.rt.RecommendationList
Encapsulates a list of recommended items.
Constructor Summary | |
RecommendationList(Enum.InterestDimensionType iDim) Creates a new, empty object of RecommendationList . |
Method Summary | |
void |
addElement(Recommendation rec) Adds a recommendation to the list. |
Enum.InterestDimensionType |
getInterestDimension() Returns the interest dimension used by ratings. |
int |
getNumberOfRecommendations() Returns the size of recommendation list. |
Recommendation |
getRecommendation(int index) Returns a recommendation using its index. |
java.lang.String |
toString() Converts recommendation list to readable text. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RecommendationList(Enum.InterestDimensionType iDim) throws NullParameterException
RecommendationList
.iDim
- the interest dimension that defines the context of the ratingsNullParameterException
- if the interest dimension is nullEnum.InterestDimensionType
Method Detail |
public Enum.InterestDimensionType getInterestDimension()
InterestDimensionType
public void addElement(Recommendation rec) throws NullParameterException
rec
- object of class RecommendationNullParameterException
- if the input Recommendation object is nullpublic Recommendation getRecommendation(int index)
index
- the index of the recommendation, 0-basedpublic int getNumberOfRecommendations()
public java.lang.String toString()
|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |