org.omg.model1.query
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
All Known Implementing Classes:
AliasTypeFilterImpl, AssociationEndFilterImpl, AssociationFilterImpl, AttributeFilterImpl, BehaviouralFeatureFilterImpl, ClassFilterImpl, ClassifierFilterImpl, CollectionTypeFilterImpl, ConstantFilterImpl, ConstraintFilterImpl, DatatypeFilterImpl, ElementFilterImpl, EnumerationTypeFilterImpl, ExceptionFilterImpl, FeatureFilterImpl, GeneralizableElementFilterImpl, ImportFilterImpl, NamespaceFilterImpl, OperationFilterImpl, PackageFilterImpl, ParameterFilterImpl, PrimitiveTypeFilterImpl, ReferenceFilterImpl, StructuralFeatureFilterImpl, StructureFieldFilterImpl, StructureTypeFilterImpl, TagFilterImpl, TypedElementFilterImpl

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 constraint for the feature annotation to the predicate.
 NamespaceQuery forAllContainer()
          Adds a constraint for the feature container to the predicate.
 StringTypePredicate forAllStereotype()
          Adds a constraint for the feature stereotype to the predicate.
 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 constraint for the feature annotation to the predicate.
 NamespaceQuery thereExistsContainer()
          Adds a constraint for the feature container to the predicate.
 StringTypePredicate thereExistsStereotype()
          Adds a constraint for the feature stereotype to the predicate.
 
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
 

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 constraint for the feature annotation to the predicate. The predicate for Element evaluates true if its value of feature annotation satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!


forAllAnnotation

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

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!


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 constraint for the feature container to the predicate. The predicate for Element evaluates true if its value of feature container satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!


forAllContainer

NamespaceQuery forAllContainer()
Adds a constraint for the feature container to the predicate. The predicate for Element evaluates true if its value of feature container satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!


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 constraint for the feature stereotype to the predicate. The predicate for Element evaluates true if at least one of its values of feature stereotype satisfies the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to false!


forAllStereotype

StringTypePredicate forAllStereotype()
Adds a constraint for the feature stereotype to the predicate. The predicate for Element evaluates true if all of its values of feature stereotype satisfy the selected condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to true!


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-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.