org.opencrx.kernel.document1.jdo2
Class MediaContent
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.document1.jdo2.DocumentRevision
org.opencrx.kernel.document1.jdo2.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 |
static class |
MediaContent.Slice
Slice object hold the MediaContent's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
|
Field Summary |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::document1::MediaContent |
| Methods inherited from class org.opencrx.kernel.document1.jdo2.DocumentRevision |
addOwningGroup, addToDocument, addToDocument, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getAuthor, getContext, getCreatedAt, getCreatedBy, getIdentity, getIndexEntry, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup, getOwningUser, getVersion, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAuthor, setName, setOwningUser, setOwningUser, setVersion, updateIndex |
| Methods inherited from class org.w3c.jdo2.AbstractObject |
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, 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, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| 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.base.cci2.Auditee |
getAudit |
| 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 |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::document1::MediaContent
MediaContent
public MediaContent()
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.
openmdxjdoGetSize
protected int openmdxjdoGetSize(int field)
- Overrides:
openmdxjdoGetSize in class DocumentRevision
openmdxjdoSetSize
protected void openmdxjdoSetSize(int field,
int size)
- Overrides:
openmdxjdoSetSize in class DocumentRevision
newSlice
protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
- Overrides:
newSlice in class DocumentRevision
openmdxjdoGetClass
protected List<String> openmdxjdoGetClass()
- Retrieve the model class
- Overrides:
openmdxjdoGetClass in class DocumentRevision
- Returns:
- the model class
- See Also:
MediaContent.CLASS
newIdentity
public static DocumentRevision.Identity newIdentity(Document.Identity document,
QualifierType idType,
String id)
openmdxjdoToIdentity
public static DocumentRevision.Identity openmdxjdoToIdentity(ObjectId objectId)
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.