public class

FriendEntry

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

Class Overview

An entry that corresponds to a youtube contact/friend as displayed on the user contacts feed.

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
FriendEntry()
FriendEntry(BaseEntry<?> base)
Public Methods
void addUserProfileLink(String url)
Adds a link to the user profile.
void declareExtensions(ExtensionProfile extProfile)
Declares extensions used in this entry.
Email getEmail()
Gets the contact e-mail address (for e-mail contacts.)
YtStatus.Value getStatus()
Gets the contact status.
String getUserProfileLink()
Gets the url pointing to the user profile entry of this contact.
String getUsername()
Gets the youtube username of the contact (for youtube user contacts).
void setEmail(Email email)
Sets the contact e-mail address (for e-mail contacs.)
void setStatus(YtStatus.Value status)
Sets the contact status.
void setUsername(String name)
Sets the youtube username of the contact (for youtube user contacts).
[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 FriendEntry ()

public FriendEntry (BaseEntry<?> base)

Parameters
base

Public Methods

public void addUserProfileLink (String url)

Adds a link to the user profile.

Parameters
url

public void declareExtensions (ExtensionProfile extProfile)

Declares extensions used in this entry.

Parameters
extProfile The ExtensionProfile to initialize.

public Email getEmail ()

Gets the contact e-mail address (for e-mail contacts.)

public YtStatus.Value getStatus ()

Gets the contact status.

public String getUserProfileLink ()

Gets the url pointing to the user profile entry of this contact.

public String getUsername ()

Gets the youtube username of the contact (for youtube user contacts).

public void setEmail (Email email)

Sets the contact e-mail address (for e-mail contacs.)

Parameters
email

public void setStatus (YtStatus.Value status)

Sets the contact status.

Parameters
status

public void setUsername (String name)

Sets the youtube username of the contact (for youtube user contacts).

Parameters
name