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

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Object>
          extended by org.apache.shindig.protocol.model.ExtendableBeanImpl
              extended by org.apache.shindig.social.core.model.MediaLinkImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>, ExtendableBean, MediaLink

public class MediaLinkImpl
extends ExtendableBeanImpl
implements MediaLink

MediaLinkImpl class.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.MediaLink
MediaLink.Field
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
MediaLinkImpl()
          Create a new MediaLink
 
Method Summary
 java.lang.Integer getDuration()
          Returns the duration of this media.
 java.lang.Integer getHeight()
          Sets the height of this media.
 ExtendableBean getOpenSocial()
          getOpenSocial
 java.lang.String getUrl()
          Returns the target URL of this MediaLink.
 java.lang.Integer getWidth()
          Returns the width of this media.
 void setDuration(java.lang.Integer duration)
          Sets the duration of this media.
 void setHeight(java.lang.Integer height)
          Sets the height of this media.
 void setOpenSocial(ExtendableBean openSocial)
          setOpenSocial
 void setUrl(java.lang.String url)
          Sets the target URL for this MediaLink.
 void setWidth(java.lang.Integer width)
          Sets the width of this media.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

MediaLinkImpl

public MediaLinkImpl()
Create a new MediaLink

Method Detail

getDuration

public java.lang.Integer getDuration()
Returns the duration of this media.

Specified by:
getDuration in interface MediaLink
Returns:
Integer is the target's duration

setDuration

public void setDuration(java.lang.Integer duration)
Sets the duration of this media.

Specified by:
setDuration in interface MediaLink
Parameters:
duration - is the target's duration

getHeight

public java.lang.Integer getHeight()
Sets the height of this media.

Specified by:
getHeight in interface MediaLink
Returns:
Integer the target's height

setHeight

public void setHeight(java.lang.Integer height)
Sets the height of this media.

Specified by:
setHeight in interface MediaLink
Parameters:
height - is the target's height

getUrl

public java.lang.String getUrl()
Returns the target URL of this MediaLink.

Specified by:
getUrl in interface MediaLink
Returns:
a target

setUrl

public void setUrl(java.lang.String url)
Sets the target URL for this MediaLink.

Specified by:
setUrl in interface MediaLink

getWidth

public java.lang.Integer getWidth()

Returns the width of this media.

Specified by:
getWidth in interface MediaLink
Returns:
Integer the target's width

setWidth

public void setWidth(java.lang.Integer width)
Sets the width of this media.

Specified by:
setWidth in interface MediaLink
Parameters:
width - is the target's width

getOpenSocial

public ExtendableBean getOpenSocial()

getOpenSocial

Specified by:
getOpenSocial in interface MediaLink
Returns:
a ExtendableBean object

setOpenSocial

public void setOpenSocial(ExtendableBean openSocial)

setOpenSocial

Specified by:
setOpenSocial in interface MediaLink


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.