Oracle Personalization
REAPI_RT
v9.0.2

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

Constructor Summary
ContentItem(Enum.RecommendationAttributeType attrib, Enum.SortingType sorting)
          Creates and initializes a ContentItem object.
 
Method Summary
TypeMethod
 Enum.RecommendationAttributeType getContentAttribute()
          Returns recommendation attribute type.
 Enum.SortingType getSorting()
          Returns sorting type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.RecommendationAttributeType
sorting - sorting type as defined in Enum.SortingType
Throws:
NullParameterException - if any input is null
Method Detail

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

Oracle Personalization
REAPI_RT
v9.0.2