Package org.dspace.app.suggestion
Class SuggestionTarget
java.lang.Object
org.dspace.app.suggestion.SuggestionTarget
This DTO class is used to pass around the number of suggestions available from a specific source for a target
repository item
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestionTarget(Item item) Wrap a target repository item (usually a person item) into a suggestion target. -
Method Summary
-
Constructor Details
-
SuggestionTarget
public SuggestionTarget() -
SuggestionTarget
Wrap a target repository item (usually a person item) into a suggestion target.- Parameters:
item- must be not null
-
-
Method Details
-
getID
The suggestion target uses the concatenation of the source and target uuid separated by colon as id- Returns:
- the source:uuid of the wrapped item
-
getTarget
-
setTarget
-
getSource
-
setSource
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total)
-