org.opencrx.kernel.account1.jmi1
Interface AbstractFilterAccount

All Superinterfaces:
AbstractFilter, AbstractFilterAccount, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
AbstractPriceLevel, AccountFilterGlobal, PriceLevel, ProductPhasePriceLevel

public interface AbstractFilterAccount
extends AbstractFilterAccount, AbstractFilter

Abstract class AbstractFilterAccount


Method Summary
 void addAccountFilterProperty(boolean idIsPersistent, String id, AccountFilterProperty accountFilterProperty)
          Adds the specified element to the set of the values for the reference accountFilterProperty.
 void addAccountFilterProperty(String id, AccountFilterProperty accountFilterProperty)
          Adds the specified element to the set of the values for the reference accountFilterProperty using a reassignable qualifier.
 CountFilteredObjectsResult countFilteredAccount()
           
<T extends AccountFilterProperty>
List<T>
getAccountFilterProperty(AccountFilterPropertyQuery query)
          Retrieves the value for the reference accountFilterProperty for the specified query.
 AccountFilterProperty getAccountFilterProperty(boolean idIsPersistent, String id)
          Retrieves the value for the reference accountFilterProperty for the specified qualifier attribute value.
 AccountFilterProperty getAccountFilterProperty(String id)
          Retrieves the value for the reference accountFilterProperty for the specified qualifier attribute value.
<T extends Account>
List<T>
getFilteredAccount(AccountQuery query)
          Retrieves the value for the reference filteredAccount for the specified query.
 Account getFilteredAccount(boolean idIsPersistent, String id)
          Retrieves the value for the reference filteredAccount for the specified qualifier attribute value.
 Account getFilteredAccount(String id)
          Retrieves the value for the reference filteredAccount for the specified qualifier attribute value.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.AbstractFilterAccount
getAccountFilterProperty, getFilteredAccount
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
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

getAccountFilterProperty

<T extends AccountFilterProperty> List<T> getAccountFilterProperty(AccountFilterPropertyQuery query)
Retrieves the value for the reference accountFilterProperty 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.

getAccountFilterProperty

AccountFilterProperty getAccountFilterProperty(boolean idIsPersistent,
                                               String id)
Retrieves the value for the reference accountFilterProperty 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

getAccountFilterProperty

AccountFilterProperty getAccountFilterProperty(String id)
Retrieves the value for the reference accountFilterProperty for the specified qualifier attribute value.

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

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

addAccountFilterProperty

void addAccountFilterProperty(boolean idIsPersistent,
                              String id,
                              AccountFilterProperty accountFilterProperty)
Adds the specified element to the set of the values for the reference accountFilterProperty.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
accountFilterProperty - The element to be appended.

addAccountFilterProperty

void addAccountFilterProperty(String id,
                              AccountFilterProperty accountFilterProperty)
Adds the specified element to the set of the values for the reference accountFilterProperty using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
accountFilterProperty - The element to be appended.

countFilteredAccount

CountFilteredObjectsResult countFilteredAccount()
Specified by:
countFilteredAccount in interface AbstractFilterAccount

getFilteredAccount

<T extends Account> List<T> getFilteredAccount(AccountQuery query)
Retrieves the value for the reference filteredAccount 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.

getFilteredAccount

Account getFilteredAccount(boolean idIsPersistent,
                           String id)
Retrieves the value for the reference filteredAccount 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

getFilteredAccount

Account getFilteredAccount(String id)
Retrieves the value for the reference filteredAccount for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getFilteredAccount(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-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.