org.omg.model1.cci2
Interface ElementQuery

All Superinterfaces:
AnyTypePredicate, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, ViewCapableQuery
All Known Subinterfaces:
AliasTypeQuery, AssociationEndQuery, AssociationQuery, AttributeQuery, BehaviouralFeatureQuery, ClassifierQuery, ClassQuery, CollectionTypeQuery, ConstantQuery, ConstraintQuery, DatatypeQuery, EnumerationTypeQuery, ExceptionQuery, FeatureQuery, GeneralizableElementQuery, ImportQuery, NamespaceQuery, OperationQuery, PackageQuery, ParameterQuery, PrimitiveTypeQuery, ReferenceQuery, StructuralFeatureQuery, StructureFieldQuery, StructureTypeQuery, TagQuery, TypedElementQuery

public interface ElementQuery
extends BasicObjectQuery


Method Summary
 OptionalFeaturePredicate annotation()
          Adds a constraint to the predicate for Element testing whether the value of the feature annotation is null or not.
 OptionalFeaturePredicate container()
          Adds a constraint to the predicate for Element testing whether the value of the feature container is null or not.
 StringTypePredicate forAllAnnotation()
          Adds a condition for the feature annotation to the predicate for Element, which evaluates to false unless the value of the feature annotation satisfies the given condition.
 NamespaceQuery forAllContainer()
          Adds a condition for the feature container to the predicate for Element, which evaluates to false unless the value of the feature container satisfies the given condition.
 StringTypePredicate forAllStereotype()
          Adds a condition for the feature stereotype to the predicate for Element, which evaluates to false unless the values of the feature stereotype satisfy the given condition.
 StringTypePredicate name()
           
 SimpleTypeOrder orderByAnnotation()
          Allows to adds a sort instruction for Element depending the feature annotation Note: The order in which orderBy… instructions are given is relevant!
 SimpleTypeOrder orderByName()
          Allows to adds a sort instruction for Element depending the feature name Note: The order in which orderBy… instructions are given is relevant!
 SimpleTypeOrder orderByQualifiedName()
          Allows to adds a sort instruction for Element depending the feature qualifiedName Note: The order in which orderBy… instructions are given is relevant!
 MultivaluedTypeOrder orderByStereotype()
          Allows to adds a sort instruction for Element depending the feature stereotype Note: The order in which orderBy… instructions are given is relevant!
 StringTypePredicate qualifiedName()
           
 MultivaluedFeaturePredicate stereotype()
          Adds a constraint to the predicate for Element testing whether the feature stereotype has values or not.
 StringTypePredicate thereExistsAnnotation()
          Adds a condition for the feature annotation to the predicate for Element, which evaluates to false unless the value of the feature annotation satisfies the given condition.
 NamespaceQuery thereExistsContainer()
          Adds a condition for the feature container to the predicate for Element, which evaluates to false unless the value of the feature container satisfies the given condition.
 StringTypePredicate thereExistsStereotype()
          Adds a condition for the feature stereotype to the predicate for Element, which evaluates to false unless the values of the feature stereotype satisfy the given condition.
 
Methods inherited from interface org.openmdx.base.cci2.BasicObjectQuery
createdAt, createdBy, forAllCreatedBy, forAllModifiedBy, modifiedAt, modifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapableQuery
context, forAllContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapableQuery
identity, orderByIdentity
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Method Detail

annotation

OptionalFeaturePredicate annotation()
Adds a constraint to the predicate for Element testing whether the value of the feature annotation is null or not.


thereExistsAnnotation

StringTypePredicate thereExistsAnnotation()
Adds a condition for the feature annotation to the predicate for Element, which evaluates to false unless the value of the feature annotation satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is not satisfied


forAllAnnotation

StringTypePredicate forAllAnnotation()
Adds a condition for the feature annotation to the predicate for Element, which evaluates to false unless the value of the feature annotation satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is satisfied


orderByAnnotation

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


container

OptionalFeaturePredicate container()
Adds a constraint to the predicate for Element testing whether the value of the feature container is null or not.


thereExistsContainer

NamespaceQuery thereExistsContainer()
Adds a condition for the feature container to the predicate for Element, which evaluates to false unless the value of the feature container satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is not satisfied


forAllContainer

NamespaceQuery forAllContainer()
Adds a condition for the feature container to the predicate for Element, which evaluates to false unless the value of the feature container satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is satisfied


name

StringTypePredicate name()

orderByName

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


qualifiedName

StringTypePredicate qualifiedName()

orderByQualifiedName

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


stereotype

MultivaluedFeaturePredicate stereotype()
Adds a constraint to the predicate for Element testing whether the feature stereotype has values or not.


thereExistsStereotype

StringTypePredicate thereExistsStereotype()
Adds a condition for the feature stereotype to the predicate for Element, which evaluates to false unless the values of the feature stereotype satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute may have no values. in which case the condition is not satisfied


forAllStereotype

StringTypePredicate forAllStereotype()
Adds a condition for the feature stereotype to the predicate for Element, which evaluates to false unless the values of the feature stereotype satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute may have no values. in which case the condition is satisfied


orderByStereotype

MultivaluedTypeOrder orderByStereotype()
Allows to adds a sort instruction for Element depending the feature stereotype 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.