public class

ComplaintEntry

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.ComplaintEntry

Class Overview

A complaint.

Summary

Fields
public static final String[] CATEGORIES Nonstandard categories that might be found in this entry.
[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
ComplaintEntry()
ComplaintEntry(BaseEntry<?> base)
Public Methods
void addVideoUrl(String url)
Adds a rel=related type=application/atom+xml link pointing to the video.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
String getComment()
Returns the comment of the complaint.
String getVideoUrl()
Gets the rel=related type=application/atom+xml link pointing to the video.
void setComment(String comment)
Adds an optional comment to the complaint.
[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

Fields

public static final String[] CATEGORIES

Nonstandard categories that might be found in this entry.

Public Constructors

public ComplaintEntry ()

public ComplaintEntry (BaseEntry<?> base)

Parameters
base

Public Methods

public void addVideoUrl (String url)

Adds a rel=related type=application/atom+xml link pointing to the video.

Parameters
url Video url

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 String getComment ()

Returns the comment of the complaint.

Returns
  • the comment of the complaint

public String getVideoUrl ()

Gets the rel=related type=application/atom+xml link pointing to the video.

Returns
  • video url or null

public void setComment (String comment)

Adds an optional comment to the complaint.

Parameters
comment Optional comment of the complaint