|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructuralFeatureFilter
A StructuralFeatureFilter selects a set of instances of
class StructuralFeature based on conditions to be met by
their attributes. For each attribute there can be set at most one
constraint using either its thereExists or forAll clause. An instance
must meet all constraints to be member of this set.
| Method Summary | |
|---|---|
void |
forAllIsChangeable(short operator,
boolean[] filterValues)
Adds a constraint for the attribute isChangeable to the
filter. |
void |
forAllIsChangeable(short operator,
Collection filterValues)
Adds a constraint for the attribute isChangeable to the
filter. |
void |
forAllMultiplicity(short operator,
Collection filterValues)
Adds a constraint for the attribute multiplicity to the
filter. |
void |
forAllMultiplicity(short operator,
String[] filterValues)
Adds a constraint for the attribute multiplicity to the
filter. |
void |
orderByIsChangeable(short order)
Specifies the sort order of all the instances that match the filter criteria. |
void |
orderByMultiplicity(short order)
Specifies the sort order of all the instances that match the filter criteria. |
void |
thereExistsIsChangeable(short operator,
boolean[] filterValues)
Adds a constraint for the attribute isChangeable to the
filter. |
void |
thereExistsIsChangeable(short operator,
Collection filterValues)
Adds a constraint for the attribute isChangeable to the
filter. |
void |
thereExistsMultiplicity(short operator,
Collection filterValues)
Adds a constraint for the attribute multiplicity to the
filter. |
void |
thereExistsMultiplicity(short operator,
String[] filterValues)
Adds a constraint for the attribute multiplicity to the
filter. |
| Methods inherited from interface org.omg.model1.cci.FeatureFilter |
|---|
forAllScope, forAllScope, forAllVisibility, forAllVisibility, orderByScope, orderByVisibility, thereExistsScope, thereExistsScope, thereExistsVisibility, thereExistsVisibility |
| Methods inherited from interface org.omg.model1.cci.TypedElementFilter |
|---|
forAllType, forAllType, thereExistsType, thereExistsType |
| Methods inherited from interface org.openmdx.base.cci.BasicObjectFilter |
|---|
forAllCreatedAt, forAllCreatedAt, forAllCreatedBy, forAllCreatedBy, forAllModifiedAt, forAllModifiedAt, forAllModifiedBy, forAllModifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedAt, thereExistsCreatedAt, thereExistsCreatedBy, thereExistsCreatedBy, thereExistsModifiedAt, thereExistsModifiedAt, thereExistsModifiedBy, thereExistsModifiedBy |
| Methods inherited from interface org.openmdx.base.cci.ContextCapableFilter |
|---|
forAllContext, forAllContext, thereExistsContext, thereExistsContext |
| Methods inherited from interface org.openmdx.base.cci.ExtentCapableFilter |
|---|
forAllIdentity, forAllIdentity, orderByIdentity, thereExistsIdentity, thereExistsIdentity |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0 |
|---|
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties |
| Method Detail |
|---|
void forAllIsChangeable(short operator,
boolean[] filterValues)
isChangeable to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
isChangeable satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllIsChangeable
and thereExistsIsChangeable for the same arguments.
You can set at most one thereExistsIsChangeable or
forAllIsChangeable constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
isChangeable to be compared to.FilterOperators
void thereExistsIsChangeable(short operator,
boolean[] filterValues)
isChangeable to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
isChangeable satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllIsChangeable
and thereExistsIsChangeable for the same arguments.
You can set at most one thereExistsIsChangeable or
forAllIsChangeable constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
isChangeable to be compared to.FilterOperators
void forAllIsChangeable(short operator,
Collection filterValues)
isChangeable to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
isChangeable satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllIsChangeable
and thereExistsIsChangeable for the same arguments.
You can set at most one thereExistsIsChangeable or
forAllIsChangeable constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
isChangeable to be compared to.FilterOperators
void thereExistsIsChangeable(short operator,
Collection filterValues)
isChangeable to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
isChangeable satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllIsChangeable
and thereExistsIsChangeable for the same arguments.
You can set at most one thereExistsIsChangeable or
forAllIsChangeable constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
isChangeable to be compared to.FilterOperatorsvoid orderByIsChangeable(short order)
order - The sort order for this filter.Directions
void forAllMultiplicity(short operator,
String[] filterValues)
multiplicity to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
multiplicity satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllMultiplicity
and thereExistsMultiplicity for the same arguments.
You can set at most one thereExistsMultiplicity or
forAllMultiplicity constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
multiplicity to be compared to.FilterOperators
void thereExistsMultiplicity(short operator,
String[] filterValues)
multiplicity to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
multiplicity satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllMultiplicity
and thereExistsMultiplicity for the same arguments.
You can set at most one thereExistsMultiplicity or
forAllMultiplicity constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
multiplicity to be compared to.FilterOperators
void forAllMultiplicity(short operator,
Collection filterValues)
multiplicity to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
multiplicity satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllMultiplicity
and thereExistsMultiplicity for the same arguments.
You can set at most one thereExistsMultiplicity or
forAllMultiplicity constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
multiplicity to be compared to.FilterOperators
void thereExistsMultiplicity(short operator,
Collection filterValues)
multiplicity to the
filter. An instance of class StructuralFeature is excluded
from the result set unless its value of attribute
multiplicity satisfies the given condition.
Since the multiplicity for this attribute is 1..1, there is no
difference between the filter methods forAllMultiplicity
and thereExistsMultiplicity for the same arguments.
You can set at most one thereExistsMultiplicity or
forAllMultiplicity constraint for this attribute.
operator - The operator for this filter.filterValues - The values you want the attribute
multiplicity to be compared to.FilterOperatorsvoid orderByMultiplicity(short order)
order - The sort order for this filter.Directions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||