org.omg.model1.query
Interface CollectionTypeQuery

All Superinterfaces:
AnyTypePredicate, BasicObjectQuery, ClassifierQuery, ContextCapableQuery, DatatypeQuery, ElementQuery, ExtentCapableQuery, GeneralizableElementQuery, NamespaceQuery, TypedElementQuery, ViewCapableQuery
All Known Implementing Classes:
CollectionTypeFilterImpl

public interface CollectionTypeQuery
extends DatatypeQuery, TypedElementQuery

A CollectionTypeQuery selects a set of instances of class CollectionType based on conditions to be met by their attributes.


Method Summary
 StringTypePredicate multiplicity()
          Adds a constraint for the feature multiplicity to the predicate.
 SimpleTypeOrder orderByMultiplicity()
          Allows to adds a sort instruction for CollectionType depending the feature multiplicity Note: The order in which orderBy… instructions are given is relevant!
 
Methods inherited from interface org.omg.model1.query.ClassifierQuery
compositeReference, forAllCompositeReference, thereExistsCompositeReference
 
Methods inherited from interface org.omg.model1.query.GeneralizableElementQuery
allSubtype, allSupertype, feature, forAllAllSubtype, forAllAllSupertype, forAllFeature, forAllSubtype, forAllSupertype, isAbstract, orderByIsAbstract, orderByVisibility, subtype, supertype, thereExistsAllSubtype, thereExistsAllSupertype, thereExistsFeature, thereExistsSubtype, thereExistsSupertype, visibility
 
Methods inherited from interface org.omg.model1.query.NamespaceQuery
content, forAllContent, thereExistsContent
 
Methods inherited from interface org.omg.model1.query.ElementQuery
annotation, container, forAllAnnotation, forAllContainer, forAllStereotype, name, orderByAnnotation, orderByName, orderByQualifiedName, orderByStereotype, qualifiedName, stereotype, thereExistsAnnotation, thereExistsContainer, thereExistsStereotype
 
Methods inherited from interface org.openmdx.base.query.BasicObjectQuery
createdAt, createdBy, forAllCreatedBy, forAllModifiedBy, modifiedAt, modifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.query.ContextCapableQuery
context, forAllContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.query.ExtentCapableQuery
identity, orderByIdentity
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 
Methods inherited from interface org.omg.model1.query.TypedElementQuery
type
 

Method Detail

multiplicity

StringTypePredicate multiplicity()
Adds a constraint for the feature multiplicity to the predicate. The predicate for CollectionType evaluates true if its value of feature multiplicity satisfies the selected condition.


orderByMultiplicity

SimpleTypeOrder orderByMultiplicity()
Allows to adds a sort instruction for CollectionType depending the feature multiplicity Note: The order in which orderBy… instructions are given is relevant!



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