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

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

public class MediaLinkImpl
extends Object
implements MediaLink

MediaLinkImpl class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.shindig.extras.as.opensocial.model.MediaLink
MediaLink.Field
 
Constructor Summary
MediaLinkImpl()
          Create a new MediaLink
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaLinkImpl

public MediaLinkImpl()
Create a new MediaLink

Method Detail

getTarget

public String getTarget()
Returns the target of this MediaLink

Specified by:
getTarget in interface MediaLink
Returns:
a target

setTarget

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

Specified by:
setTarget in interface MediaLink
Parameters:
target - a target linke

getType

public String getType()
Returns the type of the MediaLink

Specified by:
getType in interface MediaLink
Returns:
a type

setType

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

Specified by:
setType in interface MediaLink
Parameters:
type - a type

getWidth

public String getWidth()

getWidth

Specified by:
getWidth in interface MediaLink
Returns:
a String object.

setWidth

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

Specified by:
setWidth in interface MediaLink
Parameters:
width - a width

getHeight

public String getHeight()
Sets the Height of this mediaLink

Specified by:
getHeight in interface MediaLink
Returns:
a height

setHeight

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

Specified by:
setHeight in interface MediaLink
Parameters:
height - a height

getDuration

public String getDuration()
Returns the duration of this mediaLink

Specified by:
getDuration in interface MediaLink
Returns:
a duration

setDuration

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

Specified by:
setDuration in interface MediaLink
Parameters:
duration - a duration


Copyright © 2007-2012. All Rights Reserved.