org.opencrx.kernel.document1.jpa3
Class MediaContent

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.kernel.document1.jpa3.DocumentRevision
          extended by org.opencrx.kernel.document1.jpa3.MediaContent
All Implemented Interfaces:
Serializable, Auditee, Indexed, SecureObject, DocumentRevision, Media, MediaContent, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class MediaContent
extends DocumentRevision
implements MediaContent

Class MediaContent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
AbstractObject.AbstractStateAccessor, AbstractObject.EmbeddedList<E>, AbstractObject.EmbeddedSet<E>, AbstractObject.ObjectState, AbstractObject.SlicedList<E,S>, AbstractObject.SlicedMap<E,S>, AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.document1.cci2.DocumentRevision
DocumentRevision.Identity
 
Field Summary
 Long contentLength
          Attribute contentLength.
 
Fields inherited from class org.opencrx.kernel.document1.jpa3.DocumentRevision
createdAt, identity, modifiedAt
 
Constructor Summary
MediaContent()
          Constructor
 
Method Summary
 BinaryLargeObject getContent()
          Retrieves a binary large object value for the attribute content.
 Long getContentLength()
          Retrieves the possibly null value for the optional attribute contentLength.
 String getContentMimeType()
          Retrieves the possibly null value for the optional attribute contentMimeType.
 String getContentName()
          Retrieves the possibly null value for the optional attribute contentName.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 void setContent(BinaryLargeObject content)
          Sets a new binary value for the attribute content
 void setContentMimeType(String contentMimeType)
          Sets a new value for the attribute contentMimeType.
 void setContentName(String contentName)
          Sets a new value for the attribute contentName.
 void setDescription(String description)
          Sets a new value for the attribute description.
 
Methods inherited from class org.opencrx.kernel.document1.jpa3.DocumentRevision
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getAuthor, getCreatedAt, getCreatedBy, getIdentity, getIndexEntry, getModifiedAt, getModifiedBy, getName, getOpenmdxjdoIdentity, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getVersion, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAuthor, setDocument_Id, setDocument, setName, setOpenmdxjdoIdentity, setOwner, setOwningUser_Id, setOwningUser, setOwningUser, setVersion, updateIndex
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.document1.cci2.DocumentRevision
getAuthor, getName, getVersion, setAuthor, setName, setVersion
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

contentLength

public Long contentLength
Attribute contentLength.

Constructor Detail

MediaContent

public MediaContent()
Constructor

Method Detail

getContentMimeType

public final String getContentMimeType()
Retrieves the possibly null value for the optional attribute contentMimeType.

Specified by:
getContentMimeType in interface Media
Returns:
The possibly null value for attribute contentMimeType.

setContentMimeType

public void setContentMimeType(String contentMimeType)
Sets a new value for the attribute contentMimeType.

Specified by:
setContentMimeType in interface Media
Parameters:
contentMimeType - The possibly null new value for attribute contentMimeType.

getDescription

public final String getDescription()
Retrieves the possibly null value for the optional attribute description.

Specified by:
getDescription in interface Media
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface Media
Parameters:
description - The possibly null new value for attribute description.

getContentLength

public final Long getContentLength()
Retrieves the possibly null value for the optional attribute contentLength.

Specified by:
getContentLength in interface Media
Returns:
The possibly null value for attribute contentLength.

getContentName

public final String getContentName()
Retrieves the possibly null value for the optional attribute contentName.

Specified by:
getContentName in interface Media
Returns:
The possibly null value for attribute contentName.

setContentName

public void setContentName(String contentName)
Sets a new value for the attribute contentName.

Specified by:
setContentName in interface Media
Parameters:
contentName - The possibly null new value for attribute contentName.

getContent

public BinaryLargeObject getContent()
Retrieves a binary large object value for the attribute content.

Specified by:
getContent in interface Media

setContent

public void setContent(BinaryLargeObject content)
Sets a new binary value for the attribute content

Specified by:
setContent in interface Media
Parameters:
content - A BinaryLargeObject containing the value for this attribute.


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.