|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.document1.jdo2.DocumentRevision
org.opencrx.kernel.document1.jdo2.MediaContent
public class MediaContent
Class MediaContent
| Nested Class Summary | |
|---|---|
static class |
MediaContent.Slice
Slice object hold the MediaContent's
multivalued attributes |
| Nested classes/interfaces inherited from class org.opencrx.kernel.document1.jdo2.DocumentRevision |
|---|
DocumentRevision.Identity |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| 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.jdo2.DocumentRevision |
|---|
BASE_CLASS |
| Constructor Summary | |
|---|---|
MediaContent()
|
|
| 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. |
static DocumentRevision.Identity |
newIdentity(Document.Identity document,
boolean idIsPersistent,
String id)
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
protected int |
openmdxjdoGetSize(int field)
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
static DocumentRevision.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
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.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
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.document1.cci2.DocumentRevision |
|---|
getAuthor, getName, getVersion, setAuthor, setName, setVersion |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit, getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry, getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView, getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::document1::MediaContent
| Constructor Detail |
|---|
public MediaContent()
| Method Detail |
|---|
public final String getContentMimeType()
contentMimeType.
getContentMimeType in interface MediacontentMimeType.public void setContentMimeType(String contentMimeType)
contentMimeType.
setContentMimeType in interface MediacontentMimeType - The possibly null new value for attribute contentMimeType.public final String getDescription()
description.
getDescription in interface Mediadescription.public void setDescription(String description)
description.
setDescription in interface Mediadescription - The possibly null new value for attribute description.public final Long getContentLength()
contentLength.
getContentLength in interface MediacontentLength.public final String getContentName()
contentName.
getContentName in interface MediacontentName.public void setContentName(String contentName)
contentName.
setContentName in interface MediacontentName - The possibly null new value for attribute contentName.public BinaryLargeObject getContent()
content.
getContent in interface Mediapublic void setContent(BinaryLargeObject content)
content
setContent in interface Mediacontent - A BinaryLargeObject containing the value for this attribute.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class DocumentRevision
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class DocumentRevisionprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class DocumentRevisionprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class DocumentRevisionMediaContent.CLASS
public static DocumentRevision.Identity newIdentity(Document.Identity document,
boolean idIsPersistent,
String id)
public static DocumentRevision.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||