org.opencrx.kernel.depot1.cci2
Interface DepotEntity

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

public interface DepotEntity
extends CrxObject

Class DepotEntity


Nested Class Summary
static interface DepotEntity.Identity
          Object Identity
 
Method Summary
<T extends CreateBookingResult>
T
createBookingByPosition(BookingText bookingText, String bookingTextName, short bookingType, DepotPosition positionCredit, DepotPosition positionDebit, BigDecimal quantity, CompoundBooking reversalOf, Date valueDate)
           
<T extends CreateBookingResult>
T
createBookingByPositionName(BookingText bookingText, String bookingTextName, short bookingType, Depot depotCredit, Depot depotDebit, String depotNumberCredit, String depotNumberDebit, String positionName, BigDecimal quantity, CompoundBooking reversalOf, Date valueDate)
           
<T extends CreateBookingResult>
T
createBookingByProduct(BookingText bookingText, String bookingTextName, short bookingType, Depot depotCredit, Depot depotDebit, String depotNumberCredit, String depotNumberDebit, Product product, BigDecimal quantity, CompoundBooking reversalOf, Date valueDate)
           
<T extends BookingPeriod>
Collection<T>
getBookingPeriod()
          Retrieves a set containing all the elements for the reference bookingPeriod.
<T extends BookingText>
Collection<T>
getBookingText()
          Retrieves a set containing all the elements for the reference bookingText.
<T extends Depot>
Set<T>
getDepot()
          Retrieves a set containing all the elements for the reference depot.
 String getDepotEntityNumber()
          Retrieves the value for the attribute depotEntityNumber.
<T extends DepotGroup>
Collection<T>
getDepotGroup()
          Retrieves a set containing all the elements for the reference depotGroup.
<T extends DepotHolder>
Collection<T>
getDepotHolder()
          Retrieves a set containing all the elements for the reference depotHolder.
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
 void setDepotEntityNumber(String depotEntityNumber)
          Sets a new value for the attribute depotEntityNumber.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:depot1:SegmentContainsDepotEntity.
 
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

getBookingPeriod

<T extends BookingPeriod> Collection<T> getBookingPeriod()
Retrieves a set containing all the elements for the reference bookingPeriod.

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

getBookingText

<T extends BookingText> Collection<T> getBookingText()
Retrieves a set containing all the elements for the reference bookingText.

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

createBookingByPosition

<T extends CreateBookingResult> T createBookingByPosition(BookingText bookingText,
                                                          String bookingTextName,
                                                          short bookingType,
                                                          DepotPosition positionCredit,
                                                          DepotPosition positionDebit,
                                                          BigDecimal quantity,
                                                          CompoundBooking reversalOf,
                                                          Date valueDate)
                                                      throws RefException
Throws:
RefException

createBookingByPositionName

<T extends CreateBookingResult> T createBookingByPositionName(BookingText bookingText,
                                                              String bookingTextName,
                                                              short bookingType,
                                                              Depot depotCredit,
                                                              Depot depotDebit,
                                                              String depotNumberCredit,
                                                              String depotNumberDebit,
                                                              String positionName,
                                                              BigDecimal quantity,
                                                              CompoundBooking reversalOf,
                                                              Date valueDate)
                                                          throws RefException
Throws:
RefException

createBookingByProduct

<T extends CreateBookingResult> T createBookingByProduct(BookingText bookingText,
                                                         String bookingTextName,
                                                         short bookingType,
                                                         Depot depotCredit,
                                                         Depot depotDebit,
                                                         String depotNumberCredit,
                                                         String depotNumberDebit,
                                                         Product product,
                                                         BigDecimal quantity,
                                                         CompoundBooking reversalOf,
                                                         Date valueDate)
                                                     throws RefException
Throws:
RefException

getDepot

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

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

getDepotEntityNumber

String getDepotEntityNumber()
Retrieves the value for the attribute depotEntityNumber.

Returns:
The non-null value for attribute depotEntityNumber.

setDepotEntityNumber

void setDepotEntityNumber(String depotEntityNumber)
Sets a new value for the attribute depotEntityNumber.

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

getDepotGroup

<T extends DepotGroup> Collection<T> getDepotGroup()
Retrieves a set containing all the elements for the reference depotGroup.

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

getDepotHolder

<T extends DepotHolder> Collection<T> getDepotHolder()
Retrieves a set containing all the elements for the reference depotHolder.

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

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.

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.

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

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

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:opencrx:kernel:depot1:SegmentContainsDepotEntity.

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