org.opencrx.kernel.generic.jmi1
Interface DescriptionContainer

All Superinterfaces:
DescriptionContainer, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
Artifact, Asset, AssetContext, Booking, ClassificationElement, CompoundBooking, CreditBooking, DebitBooking, Depot, DepotReport, DescriptorGroup, DesignDiagram, DesignModel, DesignPart, Event, ImplementationPart, InterfaceSpec, Part, Product, Profile, RequirementDiagram, RequirementModel, RequirementPart, SalesTaxType, Slot, SolutionPart, TestDiagram, TestModel, TestPart, Uom, UseCase

public interface DescriptionContainer
extends DescriptionContainer, RefObject

Abstract class DescriptionContainer


Method Summary
 void addAdditionalDescription(Description newValue)
          
 void addAdditionalDescription(String id, Description newValue)
          
<T extends Description>
List<T>
getAdditionalDescription(DescriptionQuery query)
          Retrieves the value for the reference additionalDescription for the specified query.
 void removeAdditionalDescription(String id)
          
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 
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

getAdditionalDescription

<T extends Description> List<T> getAdditionalDescription(DescriptionQuery query)
Retrieves the value for the reference additionalDescription 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.

addAdditionalDescription

void addAdditionalDescription(String id,
                              Description newValue)

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

addAdditionalDescription

void addAdditionalDescription(Description newValue)

Parameters:
newValue - The element to be appended.

removeAdditionalDescription

void removeAdditionalDescription(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.