public class MediaEntryModuleImpl extends MediaModuleImpl implements MediaEntryModule, java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private MediaContent[] |
mediaContents |
private MediaGroup[] |
mediaGroups |
private static long |
serialVersionUID |
URI
Constructor and Description |
---|
MediaEntryModuleImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
MediaContent[] |
getMediaContents()
MediaContent items for the entry
|
MediaGroup[] |
getMediaGroups()
MediaGroups for the entry
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setMediaContents(MediaContent[] mediaContents)
MediaContent items for the entry
|
void |
setMediaGroups(MediaGroup[] mediaGroups)
MediaGroups for the entry
|
java.lang.String |
toString()
Returns the String representation for the object.
|
getInterface, getMetadata, getPlayer, getUri, setMetadata, setPlayer
finalize, getClass, notify, notifyAll, wait, wait, wait
getMetadata, getPlayer
getInterface
private static final long serialVersionUID
private MediaContent[] mediaContents
private MediaGroup[] mediaGroups
public void setMediaContents(MediaContent[] mediaContents)
mediaContents
- MediaContent items for the entrypublic MediaContent[] getMediaContents()
getMediaContents
in interface MediaEntryModule
public void setMediaGroups(MediaGroup[] mediaGroups)
mediaGroups
- MediaGroups for the entrypublic MediaGroup[] getMediaGroups()
getMediaGroups
in interface MediaEntryModule
public java.lang.Object clone()
ModuleImpl
clone
in interface Module
clone
in class MediaModuleImpl
public boolean equals(java.lang.Object obj)
ModuleImpl
equals
in class ModuleImpl
obj
- he reference object with which to compare.public int hashCode()
ModuleImpl
It follows the contract defined by the Object hashCode() method.
hashCode
in class ModuleImpl
public java.lang.String toString()
ModuleImpl
toString
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.
copyFrom
in interface CopyFrom
copyFrom
in class MediaModuleImpl
obj
- the instance to copy properties from.