org.opencrx.kernel.document1.jdo2
Class ResourceIdentifier

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.ResourceIdentifier
All Implemented Interfaces:
Serializable, Auditee, Indexed, SecureObject, DocumentRevision, ResourceIdentifier, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class ResourceIdentifier
extends DocumentRevision
implements ResourceIdentifier

Class ResourceIdentifier

See Also:
Serialized Form

Nested Class Summary
static class ResourceIdentifier.Slice
          Slice object hold the ResourceIdentifier'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::ResourceIdentifier
 
Fields inherited from class org.opencrx.kernel.document1.jdo2.DocumentRevision
BASE_CLASS
 
Constructor Summary
ResourceIdentifier()
           
 
Method Summary
 URI getUri()
          Retrieves the value for the attribute uri.
static DocumentRevision.Identity newIdentity(Document.Identity document, QualifierType idType, 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(ObjectId objectId)
           
 void setUri(URI uri)
          Sets a new value for the attribute uri.
 
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, getView, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, 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.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, 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.ContextCapable
getContext
 
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::ResourceIdentifier

Constructor Detail

ResourceIdentifier

public ResourceIdentifier()
Method Detail

getUri

public URI getUri()
Retrieves the value for the attribute uri.

Specified by:
getUri in interface ResourceIdentifier
Returns:
The non-null value for attribute uri.

setUri

public void setUri(URI uri)
Sets a new value for the attribute uri.

Specified by:
setUri in interface ResourceIdentifier
Parameters:
uri - The non-null new value for attribute uri.

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:
ResourceIdentifier.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.