org.opencrx.kernel.contract1.jmi1
Interface ContractReferenceHolder

All Superinterfaces:
ContractReferenceHolder, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
Depot, DepotContract, DepotHolder, Site, Warehouse

public interface ContractReferenceHolder
extends ContractReferenceHolder, RefObject

Abstract class ContractReferenceHolder


Method Summary
 void addContract(AbstractContract newValue)
          
 void addContract(int index, AbstractContract newValue)
          
<T extends ContractRole>
List<T>
getContractRole(ContractRoleQuery query)
          Retrieves the value for the reference contractRole for the specified query.
 void removeContract(int index)
          
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ContractReferenceHolder
getContract, getContractRole
 
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

addContract

void addContract(int index,
                 AbstractContract newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addContract

void addContract(AbstractContract newValue)

Parameters:
newValue - The element to be appended.

removeContract

void removeContract(int index)


getContractRole

<T extends ContractRole> List<T> getContractRole(ContractRoleQuery query)
Retrieves the value for the reference contractRole for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.


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