org.opencrx.kernel.product1.jmi1
Interface AddressContainer

All Superinterfaces:
AddressContainer, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
AbstractBundledProduct, AbstractProduct, AbstractProductBundle, Asset, BundledProduct, BundledProductType, ComplexProductBundle, ComplexProductBundleType, PriceOverrideEnabled, Product, ProductBundle, ProductBundleContainer, ProductBundleType, ProductOffering

public interface AddressContainer
extends AddressContainer, RefObject

Abstract class AddressContainer


Method Summary
 void addAddress(ProductAddress newValue)
          
 void addAddress(String id, ProductAddress newValue)
          
<T extends ProductAddress>
List<T>
getAddress(ProductAddressQuery query)
          Retrieves the value for the reference address for the specified query.
 void removeAddress(String id)
          
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AddressContainer
getAddress
 
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

getAddress

<T extends ProductAddress> List<T> getAddress(ProductAddressQuery query)
Retrieves the value for the reference address 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.

addAddress

void addAddress(String id,
                ProductAddress newValue)

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

addAddress

void addAddress(ProductAddress newValue)

Parameters:
newValue - The element to be appended.

removeAddress

void removeAddress(String id)



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