org.apache.shindig.extras.as.core.model
Class ActionLinkImpl

java.lang.Object
  extended by org.apache.shindig.extras.as.core.model.ActionLinkImpl
All Implemented Interfaces:
ActionLink

public class ActionLinkImpl
extends Object
implements ActionLink

A simple implementation of an ActionLink used by ActivityStreams.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.extras.as.opensocial.model.ActionLink
ActionLink.Field
 
Constructor Summary
ActionLinkImpl()
          Construct an empty ActionLinkImpl.
 
Method Summary
 String getCaption()
          Get the caption for this action link.
 String getTarget()
          Get the target of this action link
 void setCaption(String caption)
          Set the caption for this action link.
 void setTarget(String target)
          Set the target of this action link
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionLinkImpl

public ActionLinkImpl()
Construct an empty ActionLinkImpl.

Method Detail

getTarget

public String getTarget()
Get the target of this action link

Specified by:
getTarget in interface ActionLink
Returns:
a target

setTarget

public void setTarget(String target)
Set the target of this action link

Specified by:
setTarget in interface ActionLink
Parameters:
target - a target

getCaption

public String getCaption()
Get the caption for this action link.

Specified by:
getCaption in interface ActionLink
Returns:
a caption

setCaption

public void setCaption(String caption)
Set the caption for this action link.

Specified by:
setCaption in interface ActionLink
Parameters:
caption - a caption


Copyright © 2007-2012. All Rights Reserved.