public class

RatingEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.youtube.RatingEntry

Class Overview

An entry in the rating feed.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
RatingEntry()
RatingEntry(BaseEntry<?> base)
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Rating getRating()
Gets the gd:rating tag.
YtRating getYtRating()
Gets the yt:rating tag.
void setRating(Rating rating)
Sets the gd:rating tag.
void setYtRating(YtRating rating)
Sets the yt:rating tag.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Public Constructors

public RatingEntry ()

public RatingEntry (BaseEntry<?> base)

Parameters
base

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public Rating getRating ()

Gets the gd:rating tag.

public YtRating getYtRating ()

Gets the yt:rating tag.

public void setRating (Rating rating)

Sets the gd:rating tag.

Parameters
rating

public void setYtRating (YtRating rating)

Sets the yt:rating tag.

Parameters
rating