org.opencrx.kernel.document1.jpa3
Class MediaContent

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      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, AspectCapable, 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
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.document1.cci2.DocumentRevision
DocumentRevision.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::document1::MediaContent
 
Fields inherited from class org.opencrx.kernel.document1.jpa3.DocumentRevision
BASE_CLASS
 
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.
protected  org.w3c.jpa3.AbstractObject.Slice newMediaContent$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 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, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getAuthor, getContext, getCreatedAt, getCreatedBy, getIdentity, getIndexEntry, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getVersion, newDocumentRevision$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAuthor, setDocument_Id, setDocument, setName, setOwningUser_Id, setOwningUser, setOwningUser, setVersion, updateIndex
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet
 
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, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
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
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
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

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::document1::MediaContent

Constructor Detail

MediaContent

public MediaContent()
Constructor

Method Detail

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.

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.

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.

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.

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.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class DocumentRevision

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class DocumentRevision

newMediaContent$Slice

protected org.w3c.jpa3.AbstractObject.Slice newMediaContent$Slice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class DocumentRevision
Returns:
the model class
See Also:
MediaContent.CLASS


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