public class MediaModuleImpl extends ModuleImpl implements MediaModule, Serializable
URI
Constructor and Description |
---|
MediaModuleImpl() |
MediaModuleImpl(Class<? extends MediaModule> clazz,
String uri)
constructor that passes values up to ModuleImpl.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
Class<MediaModule> |
getInterface()
Returns the interface the copyFrom works on.
|
Metadata |
getMetadata()
Metadata for a feed.
|
PlayerReference |
getPlayer()
Player for a feed.
|
String |
getUri()
Returns the URI of the module.
|
void |
setMetadata(Metadata metadata)
Metadata for a feed.
|
void |
setPlayer(PlayerReference player)
Player for a feed.
|
equals, hashCode, toString
public MediaModuleImpl()
public MediaModuleImpl(Class<? extends MediaModule> clazz, String uri)
public Class<MediaModule> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public void setMetadata(Metadata metadata)
metadata
- Metadata for a feed.public Metadata getMetadata()
getMetadata
in interface MediaModule
public void setPlayer(PlayerReference player)
player
- Player for a feed.public PlayerReference getPlayer()
getPlayer
in interface MediaModule
public String getUri()
ModuleImpl
getUri
in interface Module
getUri
in class ModuleImpl
public Object clone()
ModuleImpl
clone
in interface Module
clone
in class ModuleImpl
public void copyFrom(CopyFrom obj)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
Copyright © 2022. All rights reserved.