org.opencrx.kernel.generic.jmi1
Interface DescriptionContainer

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

public interface DescriptionContainer
extends DescriptionContainer, RefObject_1_0

Abstract class DescriptionContainer


Method Summary
 void addAdditionalDescription(boolean idIsPersistent, String id, Description additionalDescription)
          Adds the specified element to the set of the values for the reference additionalDescription.
 void addAdditionalDescription(Description additionalDescription)
          Adds the specified element to the set of the values for the reference additionalDescription using an implementation-specific, reassignable qualifier.
 void addAdditionalDescription(String id, Description additionalDescription)
          Adds the specified element to the set of the values for the reference additionalDescription using a reassignable qualifier.
 Description getAdditionalDescription(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalDescription for the specified qualifier attribute value.
<T extends Description>
List<T>
getAdditionalDescription(DescriptionQuery query)
          Retrieves the value for the reference additionalDescription for the specified query.
 Description getAdditionalDescription(String id)
          Retrieves the value for the reference additionalDescription for the specified qualifier attribute value.
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

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

getAdditionalDescription

Description getAdditionalDescription(boolean idIsPersistent,
                                     String id)
Retrieves the value for the reference additionalDescription for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getAdditionalDescription

Description getAdditionalDescription(String id)
Retrieves the value for the reference additionalDescription for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getAdditionalDescription(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAdditionalDescription

void addAdditionalDescription(boolean idIsPersistent,
                              String id,
                              Description additionalDescription)
Adds the specified element to the set of the values for the reference additionalDescription.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalDescription - The element to be appended.

addAdditionalDescription

void addAdditionalDescription(String id,
                              Description additionalDescription)
Adds the specified element to the set of the values for the reference additionalDescription using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

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

addAdditionalDescription

void addAdditionalDescription(Description additionalDescription)
Adds the specified element to the set of the values for the reference additionalDescription using an implementation-specific, reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
additionalDescription - The element to be appended.


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