theory.smart.ebusiness.shoppingadvisor
Class SuggestionImpl
java.lang.Object
|
+--theory.smart.foundation.BelongingImpl
|
+--theory.smart.ebusiness.shoppingadvisor.SuggestionImpl
- public class SuggestionImpl
- extends BelongingImpl
- implements Suggestion
- See Also:
Suggestion
,
SuggestionHome
, Serialized Form
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
matched
public int matched
matched
[Suggestion] <*>------> [int
]
score
public int score
score
[Suggestion] <*>------> [int
]
item
public SmartHandle item
item
[Suggestion] <>------> [theory.smart.ebusiness.item.Item
]
SuggestionImpl
public SuggestionImpl()
getMatched
public int getMatched()
- Get the value of matched
- Specified by:
- getMatched in interface Suggestion
- Returns:
- matched.
setMatched
public void setMatched(int matched)
- Set the value of matched
- Specified by:
- setMatched in interface Suggestion
- Parameters:
matched
- matched to be added
getScore
public int getScore()
- Get the value of score
- Specified by:
- getScore in interface Suggestion
- Returns:
- score.
setScore
public void setScore(int score)
- Set the value of score
- Specified by:
- setScore in interface Suggestion
- Parameters:
score
- score to be added
getItem
public Item getItem()
throws java.rmi.RemoteException
- Get the remote object reference of item
- Specified by:
- getItem in interface Suggestion
- Returns:
- item.
setItem
public void setItem(Item item)
throws java.rmi.RemoteException
- Set the remote object reference of item
- Specified by:
- setItem in interface Suggestion
- Parameters:
items
- item to be added
value
public Belonging value()
compareTo
public int compareTo(java.lang.Object o)
- Overrides:
- compareTo in class BelongingImpl
getItemKey
public ItemPk getItemKey()
- Specified by:
- getItemKey in interface Suggestion
setItemHandle
public void setItemHandle(SmartHandle handle)
- Specified by:
- setItemHandle in interface Suggestion
incrementMatched
public int incrementMatched()
- Increase the number of matched items by 1 and return the new count.
- Specified by:
- incrementMatched in interface Suggestion
incrementScore
public int incrementScore(int increment)
- Increment the score by the specified value and return the new score.
- Specified by:
- incrementScore in interface Suggestion
© Copyright 2000 bea Systems, Inc. All rights reserved.