org.opencrx.kernel.contract1.cci2
Interface ContractRole

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

public interface ContractRole
extends SecureObject, BasicObject

Abstract class ContractRole


Nested Class Summary
static interface ContractRole.Identity
          Object Identity
 
Method Summary
 Account getAccount()
          Retrieves the value for the reference account.
 AbstractContract getContract()
          Retrieves the value for the reference contract.
 ContractReferenceHolder getContractReferenceHolder()
          Retrieves the value for the reference contractReferenceHolder.
 void setAccount(Account account)
          Sets a new value for the reference account.
 void setContract(AbstractContract contract)
          Sets a new value for the reference contract.
 void setContractReferenceHolder(ContractReferenceHolder contractReferenceHolder)
          Sets a new value for the reference contractReferenceHolder.
 
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.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

getAccount

Account getAccount()
Retrieves the value for the reference account.

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

setAccount

void setAccount(Account account)
Sets a new value for the reference account.

Parameters:
account - The non-null new value for this reference.

getContract

AbstractContract getContract()
Retrieves the value for the reference contract.

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

setContract

void setContract(AbstractContract contract)
Sets a new value for the reference contract.

Parameters:
contract - The non-null new value for this reference.

getContractReferenceHolder

ContractReferenceHolder getContractReferenceHolder()
Retrieves the value for the reference contractReferenceHolder.

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

setContractReferenceHolder

void setContractReferenceHolder(ContractReferenceHolder contractReferenceHolder)
Sets a new value for the reference contractReferenceHolder.

Parameters:
contractReferenceHolder - The non-null new value for this reference.


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