org.opencrx.kernel.depot1.jmi1
Interface DepotReportItemPosition

All Superinterfaces:
BasicObject, ContextCapable, Creatable, DepotReportItem, DepotReportItemPosition, ExtentCapable, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject

public interface DepotReportItemPosition
extends DepotReportItemPosition, DepotReportItem

Class DepotReportItemPosition


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.depot1.cci2.DepotReportItemPosition
DepotReportItemPosition.Identity
 
Method Summary
 DepotPosition getPosition()
          Retrieves the value for the reference position.
 SimpleBooking getSimpleBooking(boolean idIsPersistent, String id)
          Retrieves the value for the reference simpleBooking for the specified qualifier attribute value.
<T extends SimpleBooking>
List<T>
getSimpleBooking(SimpleBookingQuery query)
          Retrieves the value for the reference simpleBooking for the specified query.
 SimpleBooking getSimpleBooking(String id)
          Retrieves the value for the reference simpleBooking for the specified qualifier attribute value.
 SingleBooking getSingleBooking(boolean idIsPersistent, String id)
          Retrieves the value for the reference singleBooking for the specified qualifier attribute value.
<T extends SingleBooking>
List<T>
getSingleBooking(SingleBookingQuery query)
          Retrieves the value for the reference singleBooking for the specified query.
 SingleBooking getSingleBooking(String id)
          Retrieves the value for the reference singleBooking for the specified qualifier attribute value.
 void setPosition(DepotPosition position)
          Sets a new value for the reference position.
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReportItemPosition
getBalance, getBalanceBop, getBalanceCredit, getBalanceCreditBop, getBalanceDebit, getBalanceDebitBop, getBalanceSimple, getBalanceSimpleBop, getPositionName, getSimpleBooking, getSingleBooking, getValueDate, setBalance, setBalanceBop, setBalanceCredit, setBalanceCreditBop, setBalanceDebit, setBalanceDebitBop, setBalanceSimple, setBalanceSimpleBop, setPositionName, setValueDate
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.jmi1.Creatable
getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.jmi1.Modifiable
getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getPosition

DepotPosition getPosition()
Retrieves the value for the reference position.

Specified by:
getPosition in interface DepotReportItemPosition
Returns:
The – possibly null – value for this reference.

setPosition

void setPosition(DepotPosition position)
Sets a new value for the reference position.

Specified by:
setPosition in interface DepotReportItemPosition
Parameters:
position - The new – possibly null – value for this reference.

getSimpleBooking

<T extends SimpleBooking> List<T> getSimpleBooking(SimpleBookingQuery query)
Retrieves the value for the reference simpleBooking for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getSimpleBooking

SimpleBooking getSimpleBooking(boolean idIsPersistent,
                               String id)
Retrieves the value for the reference simpleBooking for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getSimpleBooking

SimpleBooking getSimpleBooking(String id)
Retrieves the value for the reference simpleBooking for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getSimpleBooking(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getSingleBooking

<T extends SingleBooking> List<T> getSingleBooking(SingleBookingQuery query)
Retrieves the value for the reference singleBooking for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getSingleBooking

SingleBooking getSingleBooking(boolean idIsPersistent,
                               String id)
Retrieves the value for the reference singleBooking for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getSingleBooking

SingleBooking getSingleBooking(String id)
Retrieves the value for the reference singleBooking for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getSingleBooking(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier


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