org.opencrx.kernel.generic.cci2
Interface DocumentAttachment

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
DocumentAttachment
All Known Implementing Classes:
DocumentAttachment

public interface DocumentAttachment
extends SecureObject, org.openmdx.base.cci2.BasicObject

Class DocumentAttachment


Nested Class Summary
static interface DocumentAttachment.Identity
          Object Identity
 
Method Summary
 String getDescription()
           
 Document getDocument()
          Retrieves the value for the reference document.
 void setCrxObject(CrxObject crxObject)
          Sets a new value for the reference crxObject.
 void setCrxObject(CrxObject crxObject, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:generic:CrxObjectHasAttachedDocument.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDocument(Document document)
          Sets a new value for the reference document.
 
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
 

Method Detail

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getDocument

Document getDocument()
Retrieves the value for the reference document.

Returns:
The – possibly null – value for this reference.

setDocument

void setDocument(Document document)
Sets a new value for the reference document.

Parameters:
document - The non-null new value for this reference.

setCrxObject

void setCrxObject(CrxObject crxObject)
Sets a new value for the reference crxObject.

Parameters:
crxObject - The non-null new value for this reference.

setCrxObject

void setCrxObject(CrxObject crxObject,
                  boolean idIsPersistent,
                  String id)
Set the object's composite association org:opencrx:kernel:generic:CrxObjectHasAttachedDocument.

Parameters:
crxObject - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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