org.opencrx.kernel.ras1.cci
Class ModelFilterImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
          extended by org.opencrx.kernel.ras1.cci.ModelFilterImpl
All Implemented Interfaces:
Serializable, ModelFilter, ModelQuery, RefFilter_1_0, RefFilter_1_1, AnyTypePredicate

public class ModelFilterImpl
extends RefPredicate_1
implements ModelFilter, ModelQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
ModelFilterImpl(RefPackage_1_0 aPackage)
           
ModelFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
ModelFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 DiagramQuery forAllRelatedDiagram()
          Adds a constraint for the feature relatedDiagram to the predicate.
 void forAllRelatedDiagram(short operator, Collection values)
           
 void forAllRelatedDiagram(short operator, Diagram[] filterValues)
           
 ModelQuery forAllRelatedModel()
          Adds a constraint for the feature relatedModel to the predicate.
 void forAllRelatedModel(short operator, Collection values)
           
 void forAllRelatedModel(short operator, Model[] filterValues)
           
 OptionalFeaturePredicate relatedDiagram()
          Adds a constraint to the predicate for Model testing whether the value of the feature relatedDiagram is null or not.
 OptionalFeaturePredicate relatedModel()
          Adds a constraint to the predicate for Model testing whether the value of the feature relatedModel is null or not.
 DiagramQuery thereExistsRelatedDiagram()
          Adds a constraint for the feature relatedDiagram to the predicate.
 void thereExistsRelatedDiagram(short operator, Collection values)
           
 void thereExistsRelatedDiagram(short operator, Diagram[] filterValues)
           
 ModelQuery thereExistsRelatedModel()
          Adds a constraint for the feature relatedModel to the predicate.
 void thereExistsRelatedModel(short operator, Collection values)
           
 void thereExistsRelatedModel(short operator, Model[] filterValues)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo, refAddValue
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefFilter_1
clear, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties, refGetOrder, refGetOrder, refGetPredicate, refGetPredicate, refGetPredicate, refGetPredicate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

ModelFilterImpl

public ModelFilterImpl(RefPackage_1_0 aPackage)

ModelFilterImpl

public ModelFilterImpl(RefPackage_1_0 aPackage,
                       FilterProperty[] filterProperties,
                       AttributeSpecifier[] attributeSpecifiers)

ModelFilterImpl

public ModelFilterImpl(RefPackage_1_0 aPackage,
                       FilterProperty[] filterProperties,
                       AttributeSpecifier[] attributeSpecifiers,
                       RefFilter_1_0 delegateFilter,
                       Short delegateQuantor,
                       String delegateName)
Method Detail

forAllRelatedDiagram

public void forAllRelatedDiagram(short operator,
                                 Diagram[] filterValues)
Specified by:
forAllRelatedDiagram in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsRelatedDiagram

public void thereExistsRelatedDiagram(short operator,
                                      Diagram[] filterValues)
Specified by:
thereExistsRelatedDiagram in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllRelatedDiagram

public void forAllRelatedDiagram(short operator,
                                 Collection values)
Specified by:
forAllRelatedDiagram in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsRelatedDiagram

public void thereExistsRelatedDiagram(short operator,
                                      Collection values)
Specified by:
thereExistsRelatedDiagram in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

relatedDiagram

public OptionalFeaturePredicate relatedDiagram()
Description copied from interface: ModelQuery
Adds a constraint to the predicate for Model testing whether the value of the feature relatedDiagram is null or not.

Specified by:
relatedDiagram in interface ModelQuery

thereExistsRelatedDiagram

public DiagramQuery thereExistsRelatedDiagram()
Description copied from interface: ModelQuery
Adds a constraint for the feature relatedDiagram to the predicate. The predicate for Model evaluates true if its value of feature relatedDiagram 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!

Specified by:
thereExistsRelatedDiagram in interface ModelQuery

forAllRelatedDiagram

public DiagramQuery forAllRelatedDiagram()
Description copied from interface: ModelQuery
Adds a constraint for the feature relatedDiagram to the predicate. The predicate for Model evaluates true if its value of feature relatedDiagram 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!

Specified by:
forAllRelatedDiagram in interface ModelQuery

forAllRelatedModel

public void forAllRelatedModel(short operator,
                               Model[] filterValues)
Specified by:
forAllRelatedModel in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsRelatedModel

public void thereExistsRelatedModel(short operator,
                                    Model[] filterValues)
Specified by:
thereExistsRelatedModel in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllRelatedModel

public void forAllRelatedModel(short operator,
                               Collection values)
Specified by:
forAllRelatedModel in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsRelatedModel

public void thereExistsRelatedModel(short operator,
                                    Collection values)
Specified by:
thereExistsRelatedModel in interface ModelFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

relatedModel

public OptionalFeaturePredicate relatedModel()
Description copied from interface: ModelQuery
Adds a constraint to the predicate for Model testing whether the value of the feature relatedModel is null or not.

Specified by:
relatedModel in interface ModelQuery

thereExistsRelatedModel

public ModelQuery thereExistsRelatedModel()
Description copied from interface: ModelQuery
Adds a constraint for the feature relatedModel to the predicate. The predicate for Model evaluates true if its value of feature relatedModel 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!

Specified by:
thereExistsRelatedModel in interface ModelQuery

forAllRelatedModel

public ModelQuery forAllRelatedModel()
Description copied from interface: ModelQuery
Adds a constraint for the feature relatedModel to the predicate. The predicate for Model evaluates true if its value of feature relatedModel 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!

Specified by:
forAllRelatedModel in interface ModelQuery


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