org.apache.shindig.extras.as.opensocial.model
Interface MediaLink

All Known Implementing Classes:
MediaLinkImpl

public interface MediaLink

MediaLink interface.


Nested Class Summary
static class MediaLink.Field
          Fields that represent the JSON elements.
 
Method Summary
 String getDuration()
          Returns the duration of this mediaLink
 String getHeight()
          Sets the Height of this mediaLink
 String getTarget()
          Returns the target of this MediaLink
 String getType()
          Returns the type of the MediaLink
 String getWidth()
          getWidth
 void setDuration(String duration)
          Sets the duration of this mediaLink
 void setHeight(String height)
          Sets the Height of this mediaLink
 void setTarget(String target)
          Sets the target for this MediaLink
 void setType(String type)
          Sets the type of the MediaLink
 void setWidth(String width)
          Sets the Width of this mediaLink
 

Method Detail

getTarget

String getTarget()
Returns the target of this MediaLink

Returns:
a target

setTarget

void setTarget(String target)
Sets the target for this MediaLink

Parameters:
target - a target linke

getType

String getType()
Returns the type of the MediaLink

Returns:
a type

setType

void setType(String type)
Sets the type of the MediaLink

Parameters:
type - a type

getWidth

String getWidth()

getWidth

Returns:
a String object.

setWidth

void setWidth(String width)
Sets the Width of this mediaLink

Parameters:
width - a width

getHeight

String getHeight()
Sets the Height of this mediaLink

Returns:
a height

setHeight

void setHeight(String height)
Sets the Height of this mediaLink

Parameters:
height - a height

getDuration

String getDuration()
Returns the duration of this mediaLink

Returns:
a duration

setDuration

void setDuration(String duration)
Sets the duration of this mediaLink

Parameters:
duration - a duration


Copyright © 2007-2012. All Rights Reserved.