public class ModifierSet extends Object implements Serializable
| Constructor and Description |
|---|
ModifierSet(String base)
Creates a new ModifierSet with the specified base.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModifier(Modifier modif)
Adds a modifier to a ModifierSet.
|
void |
addModifier(String type)
Adds a modifier of the specified type, but with no comparison and value, to a ModifierSet.
|
void |
addModifier(String type,
String comparison,
String value)
Adds a modifier of the specified type, comparison and value to a ModifierSet.
|
String |
getBase()
Returns the base string with which the ModifierSet was created.
|
ArrayList<Modifier> |
getModifiers()
Returns an array list of the modifiers in a ModifierSet.
|
String |
modifier(String type)
Returns the value of the modifier in the specified ModifierSet that corresponds
to the specified type.
|
void |
setModifiers(ArrayList<Modifier> modifs) |
String |
toCQL() |
public ModifierSet(String base)
base - public void addModifier(Modifier modif)
modifier - public void addModifier(String type)
type - public void addModifier(String type, String comparison, String value)
type - comparison - value - public String getBase()
public ArrayList<Modifier> getModifiers()
public String modifier(String type)
type - public String toCQL()
Copyright © 2014. All Rights Reserved.