|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Represents a filter assertion about metadata.
This assertion is made up of a comparator (operator), metadataID and assertion value.
// * The particular type and form of the IMetadata used as an assertion is dictated by the comparator and the metadata type. // * In other words, a particular attribute type will specify the comparators valid for that type, as well as the format of assertion value for each valid comparator. TODO (Doc): Refer to example specifications for this
| Field Summary | |
|---|---|
static String |
COMP_META_EQ
Compares true when a tested Entity has a metadata of the specified type which contains a value equal to the specified assertion value. |
static String |
COMP_META_PRESENT
Compares true when the specified metadata type is present in a tested container of metadata. |
static String |
COMP_PROP_GE
Compares true when a tested Entity has a metadata of the specified type which contains a value greater or equal to the specified assertion value. |
static String |
COMP_PROP_LE
Compares true when a tested Entity has a metadata of the specified type which contains a value less or equal to the specified assertion value. |
static String |
COMP_PROP_SUBSTR
Compares true when a tested Entity has a metadata of the specified type which contains a value containing the substring specified by the assertion value. |
| Method Summary | |
|---|---|
void |
setAssertionValue(IMetadata assertion)
Specifies the assertion data to be tested against values of a metadata container's metadata. |
| Methods inherited from interface org.eclipse.higgins.idas.api.IFilterAssertion |
|---|
includeSubtypes, setComparator, setID, setID |
| Field Detail |
public static final String COMP_META_PRESENT
An assertion value is not specified.
Value: "urn:org.eclipse.higgins.idas.api.comparator.metadata.present"
public static final String COMP_META_EQ
Value: "urn:org.eclipse.higgins.idas.api.comparator.metadata.equality"
public static final String COMP_PROP_GE
Value: "urn:org.eclipse.higgins.idas.api.comparator.metadata.greaterOrEqual"
public static final String COMP_PROP_LE
Value: "urn:org.eclipse.higgins.idas.api.comparator.metadata.lessOrEqual"
public static final String COMP_PROP_SUBSTR
TODO: need to handle initial, any, final substrings. Value: "urn:org.eclipse.higgins.idas.api.comparator.metadata.substring"
| Method Detail |
public void setAssertionValue(IMetadata assertion)
throws IdASException
IdASException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||