OracleAS Personalization Java API Reference
10g Release 2 (10.1.2)

B14053-01


oracle.dmt.op.re.reapi.rt
Class ContentItem

java.lang.Object
  extended byoracle.dmt.op.re.reapi.rt.ContentItem


public class ContentItem
extends java.lang.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
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

OracleAS Personalization Java API Reference
10g Release 2 (10.1.2)

B14053-01


Copyright © 2005 Oracle. All Rights Reserved.