org.apache.shindig.social.core.model
Class UrlImpl

java.lang.Object
  extended by org.apache.shindig.social.core.model.ListFieldImpl
      extended by org.apache.shindig.social.core.model.UrlImpl
All Implemented Interfaces:
ListField, Url

public class UrlImpl
extends ListFieldImpl
implements Url

see http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/opensocial-reference#opensocial.Url


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.Url
Url.Field
 
Constructor Summary
UrlImpl()
           
UrlImpl(String value, String linkText, String type)
           
 
Method Summary
 String getLinkText()
          Get the text associated with the link.
 void setLinkText(String linkText)
          Set the Link text associated with the link.
 
Methods inherited from class org.apache.shindig.social.core.model.ListFieldImpl
getPrimary, getType, getValue, setPrimary, setType, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.shindig.social.opensocial.model.ListField
getPrimary, getType, getValue, setPrimary, setType, setValue
 

Constructor Detail

UrlImpl

public UrlImpl()

UrlImpl

public UrlImpl(String value,
               String linkText,
               String type)
Method Detail

getLinkText

public String getLinkText()
Description copied from interface: Url
Get the text associated with the link.

Specified by:
getLinkText in interface Url
Returns:
the link text

setLinkText

public void setLinkText(String linkText)
Description copied from interface: Url
Set the Link text associated with the link.

Specified by:
setLinkText in interface Url
Parameters:
linkText - the link text


Copyright © 2007-2012. All Rights Reserved.