org.opencrx.kernel.base.cci
Class ReferencePropertyFilterImpl

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.base.cci.ReferencePropertyFilterImpl
All Implemented Interfaces:
Serializable, PropertyFilter, ReferencePropertyFilter, SecureObjectFilter, PropertyQuery, ReferencePropertyQuery, SecureObjectQuery, RefFilter_1_0, RefFilter_1_1, BasicObjectFilter, ContextCapableFilter, ExtentCapableFilter, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, ViewCapableFilter, ViewCapableQuery, AnyTypePredicate

public class ReferencePropertyFilterImpl
extends RefPredicate_1
implements ReferencePropertyFilter, ReferencePropertyQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
ReferencePropertyFilterImpl(RefPackage_1_0 aPackage)
           
ReferencePropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
ReferencePropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 OptionalFeaturePredicate accessGrantedByParent()
          Adds a constraint to the predicate for SecureObject testing whether the value of the feature accessGrantedByParent is null or not.
 ComparableTypePredicate accessLevelBrowse()
           
 ComparableTypePredicate accessLevelDelete()
           
 ComparableTypePredicate accessLevelUpdate()
           
 MultivaluedFeaturePredicate context()
          Adds a constraint to the predicate for ContextCapable testing whether the feature context has values or not.
 ComparableTypePredicate createdAt()
           
 MultivaluedFeaturePredicate createdBy()
          Adds a constraint to the predicate for BasicObject testing whether the feature createdBy has values or not.
 OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Property testing whether the value of the feature description is null or not.
 OptionalFeaturePredicate domain()
          Adds a constraint to the predicate for Property testing whether the value of the feature domain is null or not.
 BasicObjectQuery forAllAccessGrantedByParent()
          Adds a constraint for the feature accessGrantedByParent to the predicate.
 void forAllAccessGrantedByParent(short operator, BasicObject[] filterValues)
           
 void forAllAccessGrantedByParent(short operator, Collection values)
           
 void forAllAccessLevelBrowse(short operator, Collection values)
           
 void forAllAccessLevelBrowse(short operator, short[] filterValues)
           
 void forAllAccessLevelDelete(short operator, Collection values)
           
 void forAllAccessLevelDelete(short operator, short[] filterValues)
           
 void forAllAccessLevelUpdate(short operator, Collection values)
           
 void forAllAccessLevelUpdate(short operator, short[] filterValues)
           
 ContextQuery forAllContext()
          Adds a constraint for the feature context to the predicate.
 void forAllContext(short operator, Collection values)
           
 void forAllContext(short operator, Context[] filterValues)
           
 void forAllCreatedAt(short operator, Collection values)
           
 void forAllCreatedAt(short operator, Date[] filterValues)
           
 StringTypePredicate forAllCreatedBy()
          Adds a constraint for the feature createdBy to the predicate.
 void forAllCreatedBy(short operator, Collection values)
           
 void forAllCreatedBy(short operator, String[] filterValues)
           
 StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 void forAllDescription(short operator, Collection values)
           
 void forAllDescription(short operator, String[] filterValues)
           
 CodeValueContainerQuery forAllDomain()
          Adds a constraint for the feature domain to the predicate.
 void forAllDomain(short operator, CodeValueContainer[] filterValues)
           
 void forAllDomain(short operator, Collection values)
           
 void forAllIdentity(short operator, Collection values)
           
 void forAllIdentity(short operator, String[] filterValues)
           
 void forAllModifiedAt(short operator, Collection values)
           
 void forAllModifiedAt(short operator, Date[] filterValues)
           
 StringTypePredicate forAllModifiedBy()
          Adds a constraint for the feature modifiedBy to the predicate.
 void forAllModifiedBy(short operator, Collection values)
           
 void forAllModifiedBy(short operator, String[] filterValues)
           
 void forAllName(short operator, Collection values)
           
 void forAllName(short operator, String[] filterValues)
           
 StringTypePredicate forAllOwner()
          Adds a constraint for the feature owner to the predicate.
 void forAllOwner(short operator, Collection values)
           
 void forAllOwner(short operator, String[] filterValues)
           
 PrincipalGroupQuery forAllOwningGroup()
          Adds a constraint for the feature owningGroup to the predicate.
 void forAllOwningGroup(short operator, Collection values)
           
 void forAllOwningGroup(short operator, PrincipalGroup[] filterValues)
           
 UserQuery forAllOwningUser()
          Adds a constraint for the feature owningUser to the predicate.
 void forAllOwningUser(short operator, Collection values)
           
 void forAllOwningUser(short operator, User[] filterValues)
           
 BasicObjectQuery forAllReferenceValue()
          Adds a constraint for the feature referenceValue to the predicate.
 void forAllReferenceValue(short operator, BasicObject[] filterValues)
           
 void forAllReferenceValue(short operator, Collection values)
           
 StringTypePredicate identity()
           
 ComparableTypePredicate modifiedAt()
           
 MultivaluedFeaturePredicate modifiedBy()
          Adds a constraint to the predicate for BasicObject testing whether the feature modifiedBy has values or not.
 StringTypePredicate name()
           
 SimpleTypeOrder orderByAccessLevelBrowse()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelBrowse Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelBrowse(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByAccessLevelDelete()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelDelete Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelDelete(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByAccessLevelUpdate()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelUpdate Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelUpdate(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByCreatedAt()
          Allows to adds a sort instruction for BasicObject depending the feature createdAt Note: The order in which orderBy… instructions are given is relevant!
 void orderByCreatedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByCreatedBy()
          Allows to adds a sort instruction for BasicObject depending the feature createdBy Note: The order in which orderBy… instructions are given is relevant!
 void orderByCreatedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Property depending the feature description Note: The order in which orderBy… instructions are given is relevant!
 void orderByDescription(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByIdentity()
          Allows to adds a sort instruction for ExtentCapable depending the feature identity Note: The order in which orderBy… instructions are given is relevant!
 void orderByIdentity(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByModifiedAt()
          Allows to adds a sort instruction for BasicObject depending the feature modifiedAt Note: The order in which orderBy… instructions are given is relevant!
 void orderByModifiedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByModifiedBy()
          Allows to adds a sort instruction for BasicObject depending the feature modifiedBy Note: The order in which orderBy… instructions are given is relevant!
 void orderByModifiedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByName()
          Allows to adds a sort instruction for Property depending the feature name Note: The order in which orderBy… instructions are given is relevant!
 void orderByName(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByOwner()
          Allows to adds a sort instruction for SecureObject depending the feature owner Note: The order in which orderBy… instructions are given is relevant!
 void orderByOwner(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedFeaturePredicate owner()
          Adds a constraint to the predicate for SecureObject testing whether the feature owner has values or not.
 MultivaluedFeaturePredicate owningGroup()
          Adds a constraint to the predicate for SecureObject testing whether the feature owningGroup has values or not.
 OptionalFeaturePredicate owningUser()
          Adds a constraint to the predicate for SecureObject testing whether the value of the feature owningUser is null or not.
 OptionalFeaturePredicate referenceValue()
          Adds a constraint to the predicate for ReferenceProperty testing whether the value of the feature referenceValue is null or not.
 BasicObjectQuery thereExistsAccessGrantedByParent()
          Adds a constraint for the feature accessGrantedByParent to the predicate.
 void thereExistsAccessGrantedByParent(short operator, BasicObject[] filterValues)
           
 void thereExistsAccessGrantedByParent(short operator, Collection values)
           
 void thereExistsAccessLevelBrowse(short operator, Collection values)
           
 void thereExistsAccessLevelBrowse(short operator, short[] filterValues)
           
 void thereExistsAccessLevelDelete(short operator, Collection values)
           
 void thereExistsAccessLevelDelete(short operator, short[] filterValues)
           
 void thereExistsAccessLevelUpdate(short operator, Collection values)
           
 void thereExistsAccessLevelUpdate(short operator, short[] filterValues)
           
 ContextQuery thereExistsContext()
          Adds a constraint for the feature context to the predicate.
 void thereExistsContext(short operator, Collection values)
           
 void thereExistsContext(short operator, Context[] filterValues)
           
 void thereExistsCreatedAt(short operator, Collection values)
           
 void thereExistsCreatedAt(short operator, Date[] filterValues)
           
 StringTypePredicate thereExistsCreatedBy()
          Adds a constraint for the feature createdBy to the predicate.
 void thereExistsCreatedBy(short operator, Collection values)
           
 void thereExistsCreatedBy(short operator, String[] filterValues)
           
 StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description to the predicate.
 void thereExistsDescription(short operator, Collection values)
           
 void thereExistsDescription(short operator, String[] filterValues)
           
 CodeValueContainerQuery thereExistsDomain()
          Adds a constraint for the feature domain to the predicate.
 void thereExistsDomain(short operator, CodeValueContainer[] filterValues)
           
 void thereExistsDomain(short operator, Collection values)
           
 void thereExistsIdentity(short operator, Collection values)
           
 void thereExistsIdentity(short operator, String[] filterValues)
           
 void thereExistsModifiedAt(short operator, Collection values)
           
 void thereExistsModifiedAt(short operator, Date[] filterValues)
           
 StringTypePredicate thereExistsModifiedBy()
          Adds a constraint for the feature modifiedBy to the predicate.
 void thereExistsModifiedBy(short operator, Collection values)
           
 void thereExistsModifiedBy(short operator, String[] filterValues)
           
 void thereExistsName(short operator, Collection values)
           
 void thereExistsName(short operator, String[] filterValues)
           
 StringTypePredicate thereExistsOwner()
          Adds a constraint for the feature owner to the predicate.
 void thereExistsOwner(short operator, Collection values)
           
 void thereExistsOwner(short operator, String[] filterValues)
           
 PrincipalGroupQuery thereExistsOwningGroup()
          Adds a constraint for the feature owningGroup to the predicate.
 void thereExistsOwningGroup(short operator, Collection values)
           
 void thereExistsOwningGroup(short operator, PrincipalGroup[] filterValues)
           
 UserQuery thereExistsOwningUser()
          Adds a constraint for the feature owningUser to the predicate.
 void thereExistsOwningUser(short operator, Collection values)
           
 void thereExistsOwningUser(short operator, User[] filterValues)
           
 BasicObjectQuery thereExistsReferenceValue()
          Adds a constraint for the feature referenceValue to the predicate.
 void thereExistsReferenceValue(short operator, BasicObject[] filterValues)
           
 void thereExistsReferenceValue(short operator, Collection values)
           
 
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

ReferencePropertyFilterImpl

public ReferencePropertyFilterImpl(RefPackage_1_0 aPackage)

ReferencePropertyFilterImpl

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

ReferencePropertyFilterImpl

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

forAllDescription

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

thereExistsDescription

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

forAllDescription

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

thereExistsDescription

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

orderByDescription

public void orderByDescription(short order)
Description copied from interface: PropertyFilter
Specifies the sort order of all the instances that match the filter criteria.

Specified by:
orderByDescription in interface PropertyFilter
Parameters:
order - The sort order for this filter.
See Also:
Directions

description

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

Specified by:
description in interface PropertyQuery

thereExistsDescription

public StringTypePredicate thereExistsDescription()
Description copied from interface: PropertyQuery
Adds a constraint for the feature description to the predicate. The predicate for Property evaluates true if its value of feature description 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:
thereExistsDescription in interface PropertyQuery

forAllDescription

public StringTypePredicate forAllDescription()
Description copied from interface: PropertyQuery
Adds a constraint for the feature description to the predicate. The predicate for Property evaluates true if its value of feature description 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:
forAllDescription in interface PropertyQuery

orderByDescription

public SimpleTypeOrder orderByDescription()
Description copied from interface: PropertyQuery
Allows to adds a sort instruction for Property depending the feature description Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByDescription in interface PropertyQuery

forAllDomain

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

thereExistsDomain

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

forAllDomain

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

thereExistsDomain

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

domain

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

Specified by:
domain in interface PropertyQuery

thereExistsDomain

public CodeValueContainerQuery thereExistsDomain()
Description copied from interface: PropertyQuery
Adds a constraint for the feature domain to the predicate. The predicate for Property evaluates true if its value of feature domain 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:
thereExistsDomain in interface PropertyQuery

forAllDomain

public CodeValueContainerQuery forAllDomain()
Description copied from interface: PropertyQuery
Adds a constraint for the feature domain to the predicate. The predicate for Property evaluates true if its value of feature domain 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:
forAllDomain in interface PropertyQuery

forAllName

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

thereExistsName

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

forAllName

public void forAllName(short operator,
                       String[] filterValues)
Specified by:
forAllName in inter