|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.info.LyTag
leon.info.LyInfo
leon.info.LyFilterCriterion
public final class LyFilterCriterion
This class represents a filter criterion. It contains a filter element defined by a java class.
LyFilter
,
LyFilterElement
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyFilterCriterion(java.lang.Class<?> javaClass)
Constructor for a filter criterion with a Class that implements LyFilterElement. |
|
LyFilterCriterion(LyFilterElement element)
Constructor for a filter criterion with a given filter element. |
|
LyFilterCriterion(java.lang.String id,
java.lang.String javaName)
Constructor for a filter criterion. |
Method Summary | |
---|---|
LyFilterCriterion |
cloneFilterCriterion()
Clone this filter criterion. |
java.lang.Class<?> |
getJavaClass()
Gets java class corresponding to this filter criterion. |
java.lang.String |
getJavaName()
Gets name of the java class corresponding to this filter criterion. |
java.lang.String |
getName()
Returns a displayable string of this criterion. |
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 |
setJavaName(java.lang.String javaName)
Sets java class name corresponding to this filter criterion. |
void |
writeXml(java.io.PrintWriter pw)
Writes XML corresponding to this criterion element. |
Methods inherited from class leon.info.LyInfo |
---|
getAlias, getApplication, getFile, getId, getInclude, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString |
Methods inherited from class leon.info.LyTag |
---|
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyFilterCriterion(java.lang.String id, java.lang.String javaName)
id
- Id of the filter criterion.javaName
- Name of the java class corresponding to this filter criterion.public LyFilterCriterion(java.lang.Class<?> javaClass)
javaClass
- Class that implements the LyFilterElement interface.public LyFilterCriterion(LyFilterElement element)
element
- Filter element.Method Detail |
---|
public boolean match(java.lang.Object object)
match
in interface LyFilterElement
object
- Object for which the filter criterion is checked.
public boolean match(LyValueSet values)
match
in interface LyFilterElement
values
- List of values for which the filter criterion is checked.
public void writeXml(java.io.PrintWriter pw)
writeXml
in interface LyFilterElement
pw
- PrintWriter on which the XML is written.public java.lang.String getName()
getName
in interface LyFilterElement
getName
in class LyInfo
public LyFilterCriterion cloneFilterCriterion()
public java.lang.String getJavaName()
public java.lang.Class<?> getJavaClass()
public void setJavaName(java.lang.String javaName)
javaName
- Name of the java class corresponding to this filter criterion.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |