public class MetaSet
extends java.lang.Object
MetaSetRule
.
The methods of actually determining the pics in a MetaSet reside in MetaSetFilter
.MetaSetRule
,
MetaSetFilter
Modifier and Type | Field and Description |
---|---|
static int |
AND |
static int |
EQ |
static int |
FUNCTION |
static int |
GT |
static int |
LT |
static int |
MAX_RULES
editing jsp needs an upper limit
|
static int |
NAME |
static int |
NE |
static int |
NONE |
static int |
NOT |
static int |
OPERATOR |
static int |
OR |
static java.lang.String[] |
rateOps |
static java.lang.String |
s_AND |
static java.lang.String |
s_EQ |
static java.lang.String |
s_GT |
static java.lang.String |
s_LT |
static java.lang.String |
s_NE |
static java.lang.String |
s_NONE |
static java.lang.String |
s_NOT |
static java.lang.String |
s_OR |
static java.lang.String |
s_UNKNOWN |
Constructor and Description |
---|
MetaSet() |
Modifier and Type | Method and Description |
---|---|
void |
addRule(MetaSetRule rule)
Add a rule to this MetaSet
|
MetaSetRule |
getRule(int index)
Get one rule from the list of rules.
|
int |
getRuleCount()
Get the number of rules in this MetaSet
|
java.util.List<MetaSetRule> |
getRules()
Get the list of rules in this MetaSet
|
int |
getSid()
Get the Set ID
|
void |
setSid(int sid)
Set the Set ID
|
public static final int NAME
public static final int OPERATOR
public static final int FUNCTION
public static final int NONE
public static final int AND
public static final int OR
public static final int NOT
public static final java.lang.String s_NONE
public static final java.lang.String s_AND
public static final java.lang.String s_OR
public static final java.lang.String s_NOT
public static final java.lang.String s_UNKNOWN
public static final int LT
public static final int GT
public static final int EQ
public static final int NE
public static final java.lang.String s_LT
public static final java.lang.String s_GT
public static final java.lang.String s_EQ
public static final java.lang.String s_NE
public static final java.lang.String[] rateOps
public static final int MAX_RULES
public int getSid()
public void setSid(int sid)
sid
- the sid to setpublic int getRuleCount()
public java.util.List<MetaSetRule> getRules()
MetaSetRule
s.public MetaSetRule getRule(int index)
index
- The index into the list that we want to return (0 based).public void addRule(MetaSetRule rule)
rule
- The MetaSetRule to add