|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefFilter_1
org.openmdx.base.accessor.jmi.spi.RefPredicate_1
org.openmdx.base.cci.ContextCapableFilterImpl
public class ContextCapableFilterImpl
| Field Summary |
|---|
| Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1 |
|---|
filter, name, quantor |
| Constructor Summary | |
|---|---|
ContextCapableFilterImpl(RefPackage_1_0 aPackage)
|
|
ContextCapableFilterImpl(RefPackage_1_0 aPackage,
FilterProperty[] filterProperties,
AttributeSpecifier[] attributeSpecifiers)
|
|
ContextCapableFilterImpl(RefPackage_1_0 aPackage,
FilterProperty[] filterProperties,
AttributeSpecifier[] attributeSpecifiers,
RefFilter_1_0 delegateFilter,
Short delegateQuantor,
String delegateName)
|
|
| Method Summary | |
|---|---|
MultivaluedFeaturePredicate |
context()
Adds a constraint to the predicate for ContextCapable
testing whether the feature context has values or not. |
ContextQuery |
forAllContext()
Adds a constraint for the feature context to the
predicate. |
void |
forAllContext(short operator,
Collection values)
Adds a constraint for the attribute context to the filter. |
void |
forAllContext(short operator,
Context[] filterValues)
Adds a constraint for the attribute context to the filter. |
ContextQuery |
thereExistsContext()
Adds a constraint for the feature context to the
predicate. |
void |
thereExistsContext(short operator,
Collection values)
Adds a constraint for the attribute context to the filter. |
void |
thereExistsContext(short operator,
Context[] filterValues)
Adds a constraint for the attribute context to the filter. |
| 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 |
|---|
public ContextCapableFilterImpl(RefPackage_1_0 aPackage)
public ContextCapableFilterImpl(RefPackage_1_0 aPackage,
FilterProperty[] filterProperties,
AttributeSpecifier[] attributeSpecifiers)
public ContextCapableFilterImpl(RefPackage_1_0 aPackage,
FilterProperty[] filterProperties,
AttributeSpecifier[] attributeSpecifiers,
RefFilter_1_0 delegateFilter,
Short delegateQuantor,
String delegateName)
| Method Detail |
|---|
public void forAllContext(short operator,
Context[] filterValues)
ContextCapableFiltercontext to the filter.
An instance of class ContextCapable is excluded from the
result set unless its value of attribute context satisfies
the given condition.
Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!
You can set at most one thereExistsContext or
forAllContext constraint for this attribute.
forAllContext in interface ContextCapableFilteroperator - The operator for this filter.filterValues - The values you want the attribute
context to be compared to.FilterOperators
public void thereExistsContext(short operator,
Context[] filterValues)
ContextCapableFiltercontext to the filter.
An instance of class ContextCapable is excluded from the
result set unless its value of attribute context satisfies
the given condition.
Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!
You can set at most one thereExistsContext or
forAllContext constraint for this attribute.
thereExistsContext in interface ContextCapableFilteroperator - The operator for this filter.filterValues - The values you want the attribute
context to be compared to.FilterOperators
public void forAllContext(short operator,
Collection values)
ContextCapableFiltercontext to the filter.
An instance of class ContextCapable is excluded from the
result set unless its value of attribute context satisfies
the given condition.
Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!
You can set at most one thereExistsContext or
forAllContext constraint for this attribute.
forAllContext in interface ContextCapableFilteroperator - The operator for this filter.values - The values you want the attribute
context to be compared to.FilterOperators
public void thereExistsContext(short operator,
Collection values)
ContextCapableFiltercontext to the filter.
An instance of class ContextCapable is excluded from the
result set unless its value of attribute context satisfies
the given condition.
Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!
You can set at most one thereExistsContext or
forAllContext constraint for this attribute.
thereExistsContext in interface ContextCapableFilteroperator - The operator for this filter.values - The values you want the attribute
context to be compared to.FilterOperatorspublic MultivaluedFeaturePredicate context()
ContextCapableQueryContextCapable
testing whether the feature context has values or not.
context in interface ContextCapableQuerypublic ContextQuery thereExistsContext()
ContextCapableQuerycontext to the
predicate. The predicate for ContextCapable evaluates
true if its value of feature context
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!
thereExistsContext in interface ContextCapableQuerypublic ContextQuery forAllContext()
ContextCapableQuerycontext to the
predicate. The predicate for ContextCapable evaluates
true if its value of feature context
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!
forAllContext in interface ContextCapableQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||