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 | 
|---|
PstatusSelector(int pstatus)
Build a new PstatusSelector to select publications having the same pstatus
 as the pstatus specified in this constructor. 
 | 
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. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittestpublic 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 PstatusSelector(int pstatus)
pstatus - the pstatus value the publications must equals in order to be selectedpublic boolean isSelected(Data data)
DataSelectorisSelected in interface DataSelectordata - the data to evaluate.Copyright © 2001-2018 Jalios SA. All Rights Reserved.