com.mizar.trinidad.components.intermedia
Class MediaBean

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.trinidad.components.intermedia.MediaBean
All Implemented Interfaces:
JPAInterface, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
MediaRow

@Entity
public class MediaBean
extends GenericBean
implements java.io.Serializable, java.lang.Comparable, JPAInterface

See Also:
Serialized Form

Field Summary
protected  byte[] content
           
protected  java.util.Date dated
           
protected  java.lang.String description
           
protected  java.lang.Long id
           
protected  java.lang.String metadata
           
protected  java.util.Date shredDate
           
protected  java.lang.String source
           
protected  java.lang.String title
           
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
MediaBean()
           
 
Method Summary
 byte[] getContent()
           
 java.util.Date getDated()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getImageURL()
          Gets the URL to the image as provided by the Media Handler
 java.lang.String getMetadata()
           
 java.util.Date getShredDate()
           
 java.lang.String getSource()
           
 java.lang.String getTitle()
           
 void setContent(byte[] content)
           
 void setDated(java.util.Date dated)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setMetadata(java.lang.String metadata)
           
 void setShredDate(java.util.Date shredDate)
           
 void setSource(java.lang.String source)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getPrimaryKeyValue, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

id

protected java.lang.Long id

title

protected java.lang.String title

description

protected java.lang.String description

source

protected java.lang.String source

dated

protected java.util.Date dated

shredDate

protected java.util.Date shredDate

metadata

protected java.lang.String metadata

content

protected byte[] content
Constructor Detail

MediaBean

public MediaBean()
Method Detail

setId

public void setId(java.lang.Long id)

getId

public java.lang.Long getId()

setTitle

public void setTitle(java.lang.String title)

getTitle

public java.lang.String getTitle()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

setSource

public void setSource(java.lang.String source)

getSource

public java.lang.String getSource()

setDated

public void setDated(java.util.Date dated)

getDated

public java.util.Date getDated()

setShredDate

public void setShredDate(java.util.Date shredDate)

getShredDate

public java.util.Date getShredDate()

setMetadata

public void setMetadata(java.lang.String metadata)

getMetadata

public java.lang.String getMetadata()

setContent

public void setContent(byte[] content)

getContent

public byte[] getContent()

getImageURL

public java.lang.String getImageURL()
Gets the URL to the image as provided by the Media Handler

Returns: