oracle.dmt.op.re.reapi.rt
Class ContentItem
java.lang.Object
|
+--oracle.dmt.op.re.reapi.rt.ContentItem
- public class ContentItem
- extends Object
Describes the attribute of the recommendation result.
- Since:
- 9.0.0
ContentItem
public ContentItem(Enum.RecommendationAttributeType attrib,
Enum.SortingType sorting)
- Creates and initializes a
ContentItem object.
- Parameters:
attrib - one of the valid types of recommendation attribute
defined in Enum.RecommendationAttributeTypesorting - sorting type as defined in Enum.SortingType- Throws:
NullParameterException - if any input is null
getContentAttribute
public Enum.RecommendationAttributeType getContentAttribute()
- Returns recommendation attribute type.
- Returns:
Enum.RecommendationAttributeType, the attribute type
getSorting
public Enum.SortingType getSorting()
- Returns sorting type.
- Returns:
Enum.SortingType, the sorting