org.opencrx.kernel.account1.jmi1
Interface AbstractOrganizationalUnit

All Superinterfaces:
AbstractOrganizationalUnit, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
Organization, OrganizationalUnit

public interface AbstractOrganizationalUnit
extends AbstractOrganizationalUnit, RefObject_1_0

Abstract class AbstractOrganizationalUnit


Method Summary
 void addContactMembership(boolean idIsPersistent, String id, ContactMembership contactMembership)
          Adds the specified element to the set of the values for the reference contactMembership.
 void addCreditLimit(boolean idIsPersistent, String id, CreditLimit creditLimit)
          Adds the specified element to the set of the values for the reference creditLimit.
 ContactMembership getContactMembership(boolean idIsPersistent, String id)
          Retrieves the value for the reference contactMembership for the specified qualifier attribute value.
<T extends ContactMembership>
List<T>
getContactMembership(ContactMembershipQuery query)
          Retrieves the value for the reference contactMembership for the specified query.
 ContactMembership getContactMembership(String id)
          Retrieves the value for the reference contactMembership for the specified qualifier attribute value.
 CreditLimit getCreditLimit(boolean idIsPersistent, String id)
          Retrieves the value for the reference creditLimit for the specified qualifier attribute value.
<T extends CreditLimit>
List<T>
getCreditLimit(CreditLimitQuery query)
          Retrieves the value for the reference creditLimit for the specified query.
 CreditLimit getCreditLimit(String id)
          Retrieves the value for the reference creditLimit for the specified qualifier attribute value.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.AbstractOrganizationalUnit
getContactMembership, getCreditLimit, getDescription, getName, setDescription, setName
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, 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

getContactMembership

<T extends ContactMembership> List<T> getContactMembership(ContactMembershipQuery query)
Retrieves the value for the reference contactMembership 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.

getContactMembership

ContactMembership getContactMembership(boolean idIsPersistent,
                                       String id)
Retrieves the value for the reference contactMembership 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

getContactMembership

ContactMembership getContactMembership(String id)
Retrieves the value for the reference contactMembership for the specified qualifier attribute value.

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

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

addContactMembership

void addContactMembership(boolean idIsPersistent,
                          String id,
                          ContactMembership contactMembership)
Adds the specified element to the set of the values for the reference contactMembership.

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.
contactMembership - The element to be appended.

getCreditLimit

<T extends CreditLimit> List<T> getCreditLimit(CreditLimitQuery query)
Retrieves the value for the reference creditLimit 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.

getCreditLimit

CreditLimit getCreditLimit(boolean idIsPersistent,
                           String id)
Retrieves the value for the reference creditLimit 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

getCreditLimit

CreditLimit getCreditLimit(String id)
Retrieves the value for the reference creditLimit for the specified qualifier attribute value.

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

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

addCreditLimit

void addCreditLimit(boolean idIsPersistent,
                    String id,
                    CreditLimit creditLimit)
Adds the specified element to the set of the values for the reference creditLimit.

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.
creditLimit - The element to be appended.


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