public static class Publication.PstatusSelector extends java.lang.Object implements DataSelector
Modifier and Type | Field and Description |
---|---|
protected int |
greater |
protected int |
pstatus |
REVISION
Constructor and Description |
---|
Publication.PstatusSelector(int pstatus)
Build a new PstatusSelector to select publications having the same pstatus
as the pstatus specified in this constructor.
|
Publication.PstatusSelector(int pstatus,
int greater)
Build a new PstatusSelector to select publications according to their pstatus.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not.
|
public Publication.PstatusSelector(int pstatus, int greater)
pstatus
- the reference pstatus to be used during comparisongreater
- an integer indicating the comparison to be performed :
-1
: to select publications with a pstatus lower than or equals to the reference pstatus1
: to select publications with a pstatus greater than or equals to the reference pstatusany other value
: to select publications with a pstatus equals to the reference pstatuspublic Publication.PstatusSelector(int pstatus)
pstatus
- the pstatus value the publications must equals in order to be selectedpublic boolean isSelected(Data data)
DataSelector
isSelected
in interface DataSelector
data
- the data to evaluate.Copyright © 2001-2010 Jalios SA. All Rights Reserved.