org.opencrx.kernel.depot1.cci2
Interface DepotHolder

All Superinterfaces:
AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, ContractReferenceHolder, CrxObject, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, SecureObject, SubscriptionTarget, TemplateEnabled, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
DepotContract, DepotContract, DepotHolder, Site, Site, Warehouse, Warehouse
All Known Implementing Classes:
DepotContract, DepotHolder, Site, Warehouse

public interface DepotHolder
extends TemplateEnabled, ContractReferenceHolder, CrxObject

Abstract class DepotHolder


Nested Class Summary
static interface DepotHolder.Identity
          Object Identity
 
Method Summary
<T extends org.openmdx.base.cci2.Void>
T
assertReports()
           
<T extends DepotAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
<T extends Depot>
Collection<T>
getDepot()
          Retrieves a set containing all the elements for the reference depot.
 String getDepotHolderNumber()
          Retrieves the value for the attribute depotHolderNumber.
 String getDescription()
           
 DepotEntity getEntity()
          Retrieves the value for the reference entity.
 String getName()
          Retrieves the value for the attribute name.
<T extends OpenDepotResult>
T
openDepot(DepotGroup depotGroup, String depotNumber, DepotType depotType, String description, String name, Date openingDate)
           
 void setDepotHolderNumber(String depotHolderNumber)
          Sets a new value for the attribute depotHolderNumber.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setEntity(DepotEntity entity)
          Sets a new value for the reference entity.
 void setEntity(DepotEntity entity, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:depot1:EntityContainsDepotHolder.
 void setName(String name)
          Sets a new value for the attribute name.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.TemplateEnabled
applyReplacements, createObject, deleteObject, getReplacement, getTemplateReferenceFilter, isTemplate, setTemplate, setTemplateReferenceFilter
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ContractReferenceHolder
getContract, getContractRole
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
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.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
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

getAddress

<T extends DepotAddress> Collection<T> getAddress()
Retrieves a set containing all the elements for the reference address.

Returns:
A set containing all the elements for this reference.

assertReports

<T extends org.openmdx.base.cci2.Void> T assertReports()
                                                   throws RefException
Throws:
RefException

getDepot

<T extends Depot> Collection<T> getDepot()
Retrieves a set containing all the elements for the reference depot.

Returns:
A set containing all the elements for this reference.

getDepotHolderNumber

String getDepotHolderNumber()
Retrieves the value for the attribute depotHolderNumber.

Returns:
The non-null value for attribute depotHolderNumber.

setDepotHolderNumber

void setDepotHolderNumber(String depotHolderNumber)
Sets a new value for the attribute depotHolderNumber.

Parameters:
depotHolderNumber - The non-null new value for attribute depotHolderNumber.

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.

getEntity

DepotEntity getEntity()
Retrieves the value for the reference entity.

Returns:
The non-null value for this reference.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

Parameters:
name - The non-null new value for attribute name.

openDepot

<T extends OpenDepotResult> T openDepot(DepotGroup depotGroup,
                                        String depotNumber,
                                        DepotType depotType,
                                        String description,
                                        String name,
                                        Date openingDate)
                                    throws RefException
Throws:
RefException

setEntity

void setEntity(DepotEntity entity)
Sets a new value for the reference entity.

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

setEntity

void setEntity(DepotEntity entity,
               boolean idIsPersistent,
               String id)
Set the object's composite association org:opencrx:kernel:depot1:EntityContainsDepotHolder.

Parameters:
entity - 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.