org.opencrx.kernel.account1.jmi1
Interface AccountMembership

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

public interface AccountMembership
extends AccountMembership, SecureObject, BasicObject

Class AccountMembership

isFrozenisFrozenisFrozenisFrozen


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.account1.cci2.AccountMembership
AccountMembership.Identity
 
Method Summary
 Account getAccountFrom()
          Retrieves the value for the reference accountFrom.
 Account getAccountTo()
          Retrieves the value for the reference accountTo.
 Member getMember()
          Retrieves the value for the reference member.
 List<Short> getMemberRole()
          Retrieves a list containing all the elements for the attribute memberRole.
 void setMemberRole(List<Short> memberRole)
          Clears memberRole and adds the members of the given List.
 
Methods inherited from interface org.opencrx.kernel.account1.cci2.AccountMembership
getAccountFromId, getAccountToId, getDescription, getDistance, getForUseBy, getName, getQuality, getValidFrom, getValidTo, isDisabled, setAccountFromId, setAccountToId, setDescription, setDisabled, setDistance, setMemberRole, setName, setQuality, setValidFrom, setValidTo
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, 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.cci2.ContextCapable
getContext
 
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

getAccountFrom

Account getAccountFrom()
Retrieves the value for the reference accountFrom.

Specified by:
getAccountFrom in interface AccountMembership
Returns:
The – possibly null – value for this reference.

getAccountTo

Account getAccountTo()
Retrieves the value for the reference accountTo.

Specified by:
getAccountTo in interface AccountMembership
Returns:
The – possibly null – value for this reference.

getMember

Member getMember()
Retrieves the value for the reference member.

Specified by:
getMember in interface AccountMembership
Returns:
The – possibly null – value for this reference.

getMemberRole

List<Short> getMemberRole()
Retrieves a list containing all the elements for the attribute memberRole.

Specified by:
getMemberRole in interface AccountMembership
Returns:
A list containing all elements for this attribute.

setMemberRole

void setMemberRole(List<Short> memberRole)
Clears memberRole and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(memberRole);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
memberRole - collection to be copied.


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