org.opencrx.kernel.account1.cci2
Interface AbstractOrganizationalUnit

All Known Subinterfaces:
AbstractOrganizationalUnit, Organization, Organization, OrganizationalUnit, OrganizationalUnit
All Known Implementing Classes:
Organization, OrganizationalUnit

public interface AbstractOrganizationalUnit

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.
<T extends ContactMembership>
Collection<T>
getContactMembership()
          Retrieves a set containing all the elements for the reference contactMembership.
 ContactMembership getContactMembership(boolean idIsPersistent, String id)
          Retrieves the value for the reference contactMembership for the specified qualifier attribute value.
<T extends CreditLimit>
Collection<T>
getCreditLimit()
          Retrieves a set containing all the elements for the reference creditLimit.
 CreditLimit getCreditLimit(boolean idIsPersistent, String id)
          Retrieves the value for the reference creditLimit for the specified qualifier attribute value.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getName()
          Retrieves the value for the attribute name.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 

Method Detail

getContactMembership

<T extends ContactMembership> Collection<T> getContactMembership()
Retrieves a set containing all the elements for the reference contactMembership.

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

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

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> Collection<T> getCreditLimit()
Retrieves a set containing all the elements for the reference creditLimit.

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

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

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.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

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.

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.


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