org.opencrx.kernel.account1.cci2
Interface AccountMembership

All Superinterfaces:
BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, SecureObject
All Known Subinterfaces:
AccountMembership
All Known Implementing Classes:
AccountMembership

public interface AccountMembership
extends SecureObject, BasicObject

Class AccountMembership

isFrozenisFrozenisFrozenisFrozen


Nested Class Summary
static interface AccountMembership.Identity
          Object Identity
 
Method Summary
 Account getAccountFrom()
          Retrieves the value for the reference accountFrom.
 String getAccountFromId()
          Retrieves the possibly null value for the optional attribute accountFromId.
 Account getAccountTo()
          Retrieves the value for the reference accountTo.
 String getAccountToId()
          Retrieves the possibly null value for the optional attribute accountToId.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 int getDistance()
          Retrieves the value for the attribute distance.
<T extends Account>
List<T>
getForUseBy()
          Retrieves the Collection of objects referenced by forUseBy.
 Member getMember()
          Retrieves the value for the reference member.
 List<Short> getMemberRole()
          Retrieves a list containing all the elements for the attribute memberRole.
 String getName()
          Retrieves the value for the attribute name.
 short getQuality()
          Retrieves the value for the attribute quality.
 Date getValidFrom()
          Retrieves the possibly null value for the optional attribute validFrom.
 Date getValidTo()
          Retrieves the possibly null value for the optional attribute validTo.
 Boolean isDisabled()
          Retrieves the possibly null value for the optional attribute disabled.
 void setAccountFromId(String accountFromId)
          Sets a new value for the attribute accountFromId.
 void setAccountToId(String accountToId)
          Sets a new value for the attribute accountToId.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDisabled(Boolean disabled)
          Sets a new value for the attribute disabled.
 void setDistance(int distance)
          Sets a new value for the attribute distance.
 void setMemberRole(short... memberRole)
          Clears memberRole and adds the given value(s).
 void setName(String name)
          Sets a new value for the attribute name.
 void setQuality(short quality)
          Sets a new value for the attribute quality.
 void setValidFrom(Date validFrom)
          Sets a new value for the attribute validFrom.
 void setValidTo(Date validTo)
          Sets a new value for the attribute validTo.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Method Detail

getAccountFrom

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

Returns:
The – possibly null – value for this reference.

getAccountFromId

String getAccountFromId()
Retrieves the possibly null value for the optional attribute accountFromId.

Returns:
The possibly null value for attribute accountFromId.

setAccountFromId

void setAccountFromId(String accountFromId)
Sets a new value for the attribute accountFromId.

Parameters:
accountFromId - The possibly null new value for attribute accountFromId.

getAccountTo

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

Returns:
The – possibly null – value for this reference.

getAccountToId

String getAccountToId()
Retrieves the possibly null value for the optional attribute accountToId.

Returns:
The possibly null value for attribute accountToId.

setAccountToId

void setAccountToId(String accountToId)
Sets a new value for the attribute accountToId.

Parameters:
accountToId - The possibly null new value for attribute accountToId.

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.

isDisabled

Boolean isDisabled()
Retrieves the possibly null value for the optional attribute disabled.

Returns:
The possibly null value for attribute disabled.

setDisabled

void setDisabled(Boolean disabled)
Sets a new value for the attribute disabled.

Parameters:
disabled - The possibly null new value for attribute disabled.

getDistance

int getDistance()
Retrieves the value for the attribute distance.

Returns:
The non-null value for attribute distance.

setDistance

void setDistance(int distance)
Sets a new value for the attribute distance.

This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW

Parameters:
distance - The non-null new value for attribute distance.

getForUseBy

<T extends Account> List<T> getForUseBy()
Retrieves the Collection of objects referenced by forUseBy.

Returns:
The Collection of referenced objects.

getMember

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

Returns:
The – possibly null – value for this reference.

getMemberRole

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

Returns:
A list containing all elements for this attribute.

setMemberRole

void setMemberRole(short... memberRole)
Clears memberRole and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Parameters:
memberRole - value(s) to be added to memberRole

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.

This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW

Parameters:
name - The non-null new value for attribute name.

getQuality

short getQuality()
Retrieves the value for the attribute quality.

Returns:
The non-null value for attribute quality.

setQuality

void setQuality(short quality)
Sets a new value for the attribute quality.

This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW

Parameters:
quality - The non-null new value for attribute quality.

getValidFrom

Date getValidFrom()
Retrieves the possibly null value for the optional attribute validFrom.

Returns:
The possibly null value for attribute validFrom.

setValidFrom

void setValidFrom(Date validFrom)
Sets a new value for the attribute validFrom.

Parameters:
validFrom - The possibly null new value for attribute validFrom.

getValidTo

Date getValidTo()
Retrieves the possibly null value for the optional attribute validTo.

Returns:
The possibly null value for attribute validTo.

setValidTo

void setValidTo(Date validTo)
Sets a new value for the attribute validTo.

Parameters:
validTo - The possibly null new value for attribute validTo.


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