org.opencrx.kernel.document1.jdo2
Class MediaReference

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.document1.jdo2.DocumentRevision
              extended by org.opencrx.kernel.document1.jdo2.MediaReference
All Implemented Interfaces:
Serializable, Auditee, Indexed, SecureObject, DocumentRevision, MediaReference, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class MediaReference
extends DocumentRevision
implements MediaReference

Class MediaReference

See Also:
Serialized Form

Nested Class Summary
static class MediaReference.Slice
           
 
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.BLOB, org.w3c.jdo2.AbstractObject.CLOB, 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::MediaReference
 
Fields inherited from class org.opencrx.kernel.document1.jdo2.DocumentRevision
BASE_CLASS
 
Constructor Summary
MediaReference()
           
 
Method Summary
 Media getMedia()
          Retrieves the value for the reference media.
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)
           
 void setMedia(Media media)
          Sets a new value for the reference media.
 
Methods inherited from class org.opencrx.kernel.document1.jdo2.DocumentRevision
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAudit, getCreatedAt, getCreatedBy, getIdentity, getIndexEntry, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDocument, setDocument, setOwningUser, setOwningUser, updateIndex
 
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
openmdxjdoGetIdentity, openmdxjdoGetIdentity, 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
setDocument, setDocument
 
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, 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
 

Field Detail

CLASS

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

Constructor Detail

MediaReference

public MediaReference()
Method Detail

getMedia

public Media getMedia()
Retrieves the value for the reference media.

Specified by:
getMedia in interface MediaReference
Returns:
The – possibly null – value for this reference.

setMedia

public void setMedia(Media media)
Sets a new value for the reference media.

Specified by:
setMedia in interface MediaReference
Parameters:
media - The non-null new value for this reference.

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:
MediaReference.CLASS

newIdentity

public static DocumentRevision.Identity newIdentity(Document.Identity document,
                                                    boolean idIsPersistent,
                                                    String id)


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