org.openmdx.base.accessor.jmi.spi
Class RefPredicate_1

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, AnyTypePredicate
Direct Known Subclasses:
AliasTypeFilterImpl, AssociationEndFilterImpl, AssociationFilterImpl, AttributeFilterImpl, AuditableFilterImpl, AuthorityFilterImpl, BasicObjectFilterImpl, BasicStateFilterImpl, BehaviouralFeatureFilterImpl, BooleanPropertyFilterImpl, BooleanPropertyFilterImpl, ClassFilterImpl, ClassifierExternalizeClassifierParamsFilterImpl, ClassifierExternalizeResultFilterImpl, ClassifierFilterImpl, CollectionTypeFilterImpl, ComponentFilterImpl, ConfigurationFilterImpl, ConnectionFilterImpl, ConstantFilterImpl, ConstraintFilterImpl, ContextCapableFilterImpl, ContextFilterImpl, DatabaseConnectorFilterImpl, DatabaseFilterImpl, DatabaseResourceReferenceFilterImpl, DataproviderBooleanPropertyFilterImpl, DataproviderConnectorFilterImpl, DataproviderFilterImpl, DataproviderIntegerPropertyFilterImpl, DataproviderPropertyFilterImpl, DataproviderResourceFilterImpl, DataproviderResourceReferenceFilterImpl, DataproviderStringPropertyFilterImpl, DataproviderTypeBooleanPropertyFilterImpl, DataproviderTypeFilterImpl, DataproviderTypeIntegerPropertyFilterImpl, DataproviderTypePropertyFilterImpl, DataproviderTypeStringPropertyFilterImpl, DatastoreFilterImpl, DatatypeFilterImpl, DateStateExcludingEndFilterImpl, DateStateFilterImpl, DateTimeStateFilterImpl, DecimalPropertyFilterImpl, DecimalPropertyFilterImpl, DeploymentUnitFilterImpl, DomainFilterImpl, DomainFilterImpl, ElementFilterImpl, EnumerationTypeFilterImpl, ExceptionFilterImpl, ExtentCapableFilterImpl, FeatureFilterImpl, FilterFilterImpl, GeneralizableElementFilterImpl, GenericResourceReferenceFilterImpl, GetStreamResultFilterImpl, HistoryStateFilterImpl, HttpUrlConnectorFilterImpl, ImportFilterImpl, InboundCommunicationFilterImpl, IndexFilterImpl, InstanceFilterImpl, IntegerPropertyFilterImpl, IntegerPropertyFilterImpl, InvolvedFilterImpl, LockFilterImpl, ModuleFilterImpl, NamespaceFilterImpl, NamespaceFilterImpl, NamespaceFindElementsByTypeParamsFilterImpl, NamespaceFindElementsByTypeResultFilterImpl, NamespaceLookupElementParamsFilterImpl, NamespaceLookupElementResultFilterImpl, NamespaceResolveQualifiedNameParamsFilterImpl, NamespaceResolveQualifiedNameResultFilterImpl, OperationFilterImpl, OptimisticLockFilterImpl, OutboundCommunicationFilterImpl, PackageExternalizeParamsFilterImpl, PackageExternalizeResultFilterImpl, PackageFilterImpl, ParameterFilterImpl, PreferencesFilterImpl, PrimitiveTypeFilterImpl, PropertyFilterImpl, PropertyFilterImpl, PropertySetFilterImpl, ProviderFilterImpl, QueryFilterFilterImpl, ReferenceFilterImpl, ResourceAdapterBooleanPropertyFilterImpl, ResourceAdapterFilterImpl, ResourceAdapterIntegerPropertyFilterImpl, ResourceAdapterPropertyFilterImpl, ResourceAdapterStringPropertyFilterImpl, ResourceReferenceFilterImpl, RoleCapableFilterImpl, RoleFilterImpl, RoleTypeFilterImpl, SegmentFilterImpl, SegmentFilterImpl, SegmentFilterImpl, SegmentFilterImpl, SegmentFilterImpl, SegmentFilterImpl, SequenceFilterImpl, StateCapableFilterImpl, StateFilterImpl, StatefulConnectionFilterImpl, StatelessConnectionFilterImpl, StatelessResourceFilterImpl, StatisticsFilterImpl, StringPropertyFilterImpl, StringPropertyFilterImpl, StructuralFeatureFilterImpl, StructureFieldFilterImpl, StructureTypeFilterImpl, TagFilterImpl, TransientFilterImpl, TypedElementFilterImpl, UnitOfWorkFilterImpl, UriPropertyFilterImpl, UriPropertyFilterImpl, ValidStateFilterImpl, ViewCapableFilterImpl, ViewFilterImpl, VoidFilterImpl

public class RefPredicate_1
extends RefFilter_1
implements AnyTypePredicate

RefFilter_1 based AnyTypePredicate implementation

See Also:
Serialized Form

Field Summary
protected  RefFilter_1_0 filter
           
protected  String name
           
protected  Short quantor
           
 
Constructor Summary
protected RefPredicate_1(RefPackage_1_0 refPackage, String filterType, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
          Constructor
 
Method Summary
 void elementOf(Collection operand)
          ‹attribute value› ∈ ‹operands›
 void elementOf(Object[] operand)
          ‹attribute value› ∈ ‹operands›
 void equalTo(Object operand)
          ‹attribute value› = ‹operand›
 void notAnElementOf(Collection operand)
          ‹attribute value› ∉ ‹operands›
 void notAnElementOf(Object[] operand)
          ‹attribute value› ∉ ‹operands›
 void notEqualTo(Object operand)
          ‹attribute value› ≠ ‹operand›
 void refAddValue(short operator, Collection operand)
          Adding value to the delegate filter
 
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
 

Field Detail

filter

protected final RefFilter_1_0 filter

quantor

protected final Short quantor

name

protected final String name
Constructor Detail

RefPredicate_1

protected RefPredicate_1(RefPackage_1_0 refPackage,
                         String filterType,
                         FilterProperty[] filterProperties,
                         AttributeSpecifier[] attributeSpecifiers,
                         RefFilter_1_0 delegateFilter,
                         Short delegateQuantor,
                         String delegateName)
Constructor

Parameters:
refPackage -
filterType -
filterProperties -
attributeSpecifiers -
delegateFilter -
delegateQuantor -
delegateName -
Method Detail

refAddValue

public void refAddValue(short operator,
                        Collection operand)
Adding value to the delegate filter

Parameters:
operator -
operand -

equalTo

public void equalTo(Object operand)
Description copied from interface: AnyTypePredicate
‹attribute value› = ‹operand›

Matches if the attribute's value is equal to the operand.

Specified by:
equalTo in interface AnyTypePredicate
Parameters:
operand - the operand the attribute value is compared to

elementOf

public void elementOf(Object[] operand)
Description copied from interface: AnyTypePredicate
‹attribute value› ∈ ‹operands›

Matches if the attribute's value is equal to one the operands.

Specified by:
elementOf in interface AnyTypePredicate
Parameters:
operand - the operands the attribute value is compared to

elementOf

public void elementOf(Collection operand)
Description copied from interface: AnyTypePredicate
‹attribute value› ∈ ‹operands›

Matches if the attribute's value is equal to one the operands.

Specified by:
elementOf in interface AnyTypePredicate
Parameters:
operand - the operand the attribute value is compared to

notEqualTo

public void notEqualTo(Object operand)
Description copied from interface: AnyTypePredicate
‹attribute value› ≠ ‹operand›

Matches if the attribute's value is not equal to the operand.

Specified by:
notEqualTo in interface AnyTypePredicate
Parameters:
operand - the operand the attribute value is compared to

notAnElementOf

public void notAnElementOf(Object[] operand)
Description copied from interface: AnyTypePredicate
‹attribute value› ∉ ‹operands›

Matches if the attribute's value is not equal to any the operands.

Specified by:
notAnElementOf in interface AnyTypePredicate
Parameters:
operand - the operand the attribute value is compared to

notAnElementOf

public void notAnElementOf(Collection operand)
Description copied from interface: AnyTypePredicate
‹attribute value› ∉ ‹operands›

Matches if the attribute's value is not equal to any the operands.

Specified by:
notAnElementOf in interface AnyTypePredicate
Parameters:
operand - the operand the attribute value is compared to


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