org.opencrx.kernel.depot1.cci2
Interface SimpleBooking

All Superinterfaces:
AspectCapable, BasicObject, Booking, ContextCapable, Creatable, DescriptionContainer, ExtentCapable, Modifiable, PropertySet, SecureObject
All Known Subinterfaces:
SimpleBooking
All Known Implementing Classes:
SimpleBooking

public interface SimpleBooking
extends Booking

Class SimpleBooking


Nested Class Summary
static interface SimpleBooking.Identity
          Object Identity
 
Method Summary
<T extends BasicObject>
List<T>
getOriginContext()
          Retrieves the Collection of objects referenced by originContext.
 List<String> getOriginContextParams()
          Retrieves a list containing all the elements for the attribute originContextParams.
 String getOriginId()
          Retrieves the possibly null value for the optional attribute originId.
 BigDecimal getQuantity()
          Retrieves the value for the attribute quantity.
 Uom getQuantityUom()
          Retrieves the value for the reference quantityUom.
 void setOriginContextParams(String... originContextParams)
          Clears originContextParams and adds the given value(s).
 void setOriginId(String originId)
          Sets a new value for the attribute originId.
 void setQuantity(BigDecimal quantity)
          Sets a new value for the attribute quantity.
 void setQuantityUom(Uom quantityUom)
          Sets a new value for the reference quantityUom.
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.Booking
getBookingDate, getBookingStatus, getBookingType, getDescription, getName, getPosition, getValueDate, setBookingDate, setBookingStatus, setBookingType, setDescription, setName, setPosition, setValueDate
 
Methods inherited from interface org.opencrx.kernel.base.cci2.PropertySet
getProperty
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getOriginContext

<T extends BasicObject> List<T> getOriginContext()
Retrieves the Collection of objects referenced by originContext.

Returns:
The Collection of referenced objects.

getOriginContextParams

List<String> getOriginContextParams()
Retrieves a list containing all the elements for the attribute originContextParams.

Returns:
A list containing all elements for this attribute.

setOriginContextParams

void setOriginContextParams(String... originContextParams)
Clears originContextParams and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

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

getOriginId

String getOriginId()
Retrieves the possibly null value for the optional attribute originId.

Returns:
The possibly null value for attribute originId.

setOriginId

void setOriginId(String originId)
Sets a new value for the attribute originId.

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

getQuantity

BigDecimal getQuantity()
Retrieves the value for the attribute quantity.

Returns:
The non-null value for attribute quantity.

setQuantity

void setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity.

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

getQuantityUom

Uom getQuantityUom()
Retrieves the value for the reference quantityUom.

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

setQuantityUom

void setQuantityUom(Uom quantityUom)
Sets a new value for the reference quantityUom.

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


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