LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info
Interface LyFilterElement

All Known Implementing Classes:
LyFilter, LyFilterCriterion, LyFilterExpression, LyFilterRelation, LyFormula, LyJoinFilter, LyMvelFormula, LyWSFormula

public interface LyFilterElement

Common interface for LyFilter, LyFilterRelation and LyFilterExpression FilterElements may be added into a filter.

See Also:
LyFilterExpression, LyFilter, LyFilterRelation

Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 java.lang.String getName()
          Returns a displayable string of this element.
 boolean match(LyValueSet values)
          Indicates whether the specified values matches the filter criterion.
 boolean match(java.lang.Object object)
          Indicates whether the specified object matches the filter criterion.
 void writeXml(java.io.PrintWriter pw)
          Writes XML corresponding to this filter element.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

match

boolean match(java.lang.Object object)
Indicates whether the specified object matches the filter criterion.

Parameters:
object - Object for which the filter criterion is checked.
Returns:
True if the objects matches criterion, false otherwise.

match

boolean match(LyValueSet values)
Indicates whether the specified values matches the filter criterion.

Parameters:
values - List of values for which the filter criterion is checked.
Returns:
True if the values matches criterion, false otherwise.

writeXml

void writeXml(java.io.PrintWriter pw)
Writes XML corresponding to this filter element.

Parameters:
pw - PrintWriter on which the XML is written.

getName

java.lang.String getName()
Returns a displayable string of this element.

Returns:
A displayable string representation of this element.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com