org.rr0.im.business.evidence
Interface Record

All Known Subinterfaces:
Affidavit, Article, Broadcast, Document, Footage, Photograph, RadioBroadcast, TelevisionBroadcast

public interface Record
extends Source, Timeable

A persistent data.

Author:
Jérôme Beau
Version: 21 avr. 2003 16:23:03

Method Summary
 ObjectgetContent(String mimeType, Locale locale)
           
 voidsetContent(String mimeType, Object content, Locale locale)
           

Methods inherited from interface org.rr0.im.business.event.Timeable
getBegining, getHistory

Methods inherited from interface org.rr0.im.business.event.Durable
getDuration

Method Detail

getContent

public Object getContent(String mimeType, Locale locale)
Parameters:
mimeType The desired content type such as "text/plain", "image/jpeg", "video/mpeg", "url", etc.
locale The desired locale, such as en_US, en_UK, fr_FR, fr_CA, etc.
Returns: The document's content

setContent

public void setContent(String mimeType, Object content, Locale locale)
Parameters:
mimeType The content type such as "text/plain", "image/jpeg", "video/mpeg", "url", etc.
locale The content's locale, such as en_US, en_UK, fr_FR, fr_CA, etc.