<EXP> : Filter expression

Java class : leon.info.LyFilterExpression

ROLE

A filter expression is used to express a filter condition within a filter.

ATTRIBUTES

<!ATTLIST EXP
	  idref IDREF #REQUIRED
	  not ( true | false) "false"
	  caseSensitive ( true | false) "false"
	  condition ( EQUALS | LOWER_THAN | LOWER_OR_EQUALS | GREATER_THAN | GREATER_OR_EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH) "EQUALS"
	  value CDATA #IMPLIED>
Attribute Mand. Description Default
idref yes Reference to the target field of the filtering condition.  
not no When this attribute equals true, the filtering condition is inverted. The default value equals false. false
caseSensitive no When this attribute is set to true, comparisons with alphanumeric values are case sensitive. The default value equals false. false
condition no This attribute defines the filtering condition. Supported filtering conditions are:
- EQUALS: equality, objects meet this condition when their value for the target field equals the value of this filter expression.
- LOWER_THAN: Objects meet this condition when their value for the target field is lower than the value of this filter expression.
- LOWER_OR_EQUALS: Objects meet this condition when their value for the target field is lower or equals to the value of this filter expression.
- GREATER_THAN: Objects meet this condition when their value for the target field is greater than the value of this filter expression.
- GREATER_OR_EQUALS: Objects meet this condition when their value for the target field is greater or equals to the value of this filter expression.
- CONTAINS: Objects meet this condition when their value for the target field contains the value of this filter expression.
- STARTS_WITH : Objects meet this condition when their value for the target field starts with the value of this filter expression.
- ENDS_WITH : Objects meet this condition when their value for the target field ends with the value of this filter expression. The default filtering condition equals 'EQUALS'.
EQUALS
value no Value of the filter expression (null if not given).