org.opencrx.kernel.depot1.cci2
Interface CompoundBooking

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

public interface CompoundBooking
extends PropertySet, CrxObject, DescriptionContainer

Class CompoundBooking


Nested Class Summary
static interface CompoundBooking.Identity
          Object Identity
 
Method Summary
<T extends org.openmdx.base.cci2.Void>
T
acceptCb()
           
<T extends CancelCompoundBookingResult>
T
cancelCb()
           
<T extends org.openmdx.base.cci2.Void>
T
finalizeCb()
           
 Set<String> getAcceptedBy()
           
<T extends Booking>
Set<T>
getBooking()
          Retrieves a set containing all the elements for the reference booking.
 Date getBookingDate()
          Retrieves the value for the attribute bookingDate.
 short getBookingStatus()
          Retrieves the value for the attribute bookingStatus.
 short getBookingType()
          Retrieves the value for the attribute bookingType.
 String getDescription()
           
 short getLockingReason()
          Retrieves the value for the attribute lockingReason.
 Date getLockModifiedAt()
          Retrieves the value for the attribute lockModifiedAt.
 String getName()
          Retrieves the value for the attribute name.
 CompoundBooking getReversalOf()
          Retrieves the value for the reference reversalOf.
 WfProcessInstance getWfProcess()
          Retrieves the value for the reference wfProcess.
 boolean isLocked()
          Retrieves the value for the attribute isLocked.
<T extends org.openmdx.base.cci2.Void>
T
lockCb(short lockingReason)
           
 void setAcceptedBy(String... acceptedBy)
           This method is equivalent to
 void setBookingDate(Date bookingDate)
          Sets a new value for the attribute bookingDate.
 void setBookingStatus(short bookingStatus)
          Sets a new value for the attribute bookingStatus.
 void setBookingType(short bookingType)
          Sets a new value for the attribute bookingType.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setLocked(boolean isLocked)
          Sets a new value for the attribute isLocked.
 void setLockingReason(short lockingReason)
          Sets a new value for the attribute lockingReason.
 void setLockModifiedAt(Date lockModifiedAt)
          Sets a new value for the attribute lockModifiedAt.
 void setName(String name)
          Sets a new value for the attribute name.
 void setReversalOf(CompoundBooking reversalOf)
          Sets a new value for the reference reversalOf.
 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:SegmentContainsCompoundBooking.
 void setWfProcess(WfProcessInstance wfProcess)
          Sets a new value for the reference wfProcess.
<T extends org.openmdx.base.cci2.Void>
T
unlockCb()
           
 
Methods inherited from interface org.opencrx.kernel.base.cci2.PropertySet
getProperty
 
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
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 

Method Detail

acceptCb

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

getAcceptedBy

Set<String> getAcceptedBy()
Returns:
A set containing all elements for this attribute.

setAcceptedBy

void setAcceptedBy(String... acceptedBy)

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(acceptedBy));
 

Parameters:
acceptedBy - value(s) to be added to acceptedBy

getBooking

<T extends Booking> Set<T> getBooking()
Retrieves a set containing all the elements for the reference booking.

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

getBookingDate

Date getBookingDate()
Retrieves the value for the attribute bookingDate.

Returns:
The non-null value for attribute bookingDate.

setBookingDate

void setBookingDate(Date bookingDate)
Sets a new value for the attribute bookingDate.

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

getBookingStatus

short getBookingStatus()
Retrieves the value for the attribute bookingStatus.

Returns:
The non-null value for attribute bookingStatus.

setBookingStatus

void setBookingStatus(short bookingStatus)
Sets a new value for the attribute bookingStatus.

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

getBookingType

short getBookingType()
Retrieves the value for the attribute bookingType.

Returns:
The non-null value for attribute bookingType.

setBookingType

void setBookingType(short bookingType)
Sets a new value for the attribute bookingType.

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

cancelCb

<T extends CancelCompoundBookingResult> T cancelCb()
                                               throws RefException
Throws:
RefException

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.

finalizeCb

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

isLocked

boolean isLocked()
Retrieves the value for the attribute isLocked.

Returns:
The non-null value for attribute isLocked.

setLocked

void setLocked(boolean isLocked)
Sets a new value for the attribute isLocked.

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

lockCb

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

getLockModifiedAt

Date getLockModifiedAt()
Retrieves the value for the attribute lockModifiedAt.

Returns:
The non-null value for attribute lockModifiedAt.

setLockModifiedAt

void setLockModifiedAt(Date lockModifiedAt)
Sets a new value for the attribute lockModifiedAt.

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

getLockingReason

short getLockingReason()
Retrieves the value for the attribute lockingReason.

Returns:
The non-null value for attribute lockingReason.

setLockingReason

void setLockingReason(short lockingReason)
Sets a new value for the attribute lockingReason.

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

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.

getReversalOf

CompoundBooking getReversalOf()
Retrieves the value for the reference reversalOf.

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

setReversalOf

void setReversalOf(CompoundBooking reversalOf)
Sets a new value for the reference reversalOf.

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

unlockCb

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

getWfProcess

WfProcessInstance getWfProcess()
Retrieves the value for the reference wfProcess.

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

setWfProcess

void setWfProcess(WfProcessInstance wfProcess)
Sets a new value for the reference wfProcess.

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

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

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.