public class Modifier extends Object
| Constructor and Description |
|---|
Modifier(String name)
Instantiates a new modifier.
|
Modifier(String name,
List<ModifierEngine> engine)
Instantiates a new modifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEngine(ModifierEngine engine)
Adds the engine.
|
boolean |
equals(Object o) |
List<ModifierEngine> |
getEngine()
Gets the an Engine used to modify the parameter value.
|
String |
getExpression()
Gets the expression.
|
String |
getName()
Gets the name.
|
int |
hashCode() |
void |
setEngine(List<ModifierEngine> engine)
Sets the an Engine used to modify the parameter value.
|
void |
setExpression(String expression)
Sets the expression.
|
void |
setName(String name)
Sets the name.
|
public Modifier(String name)
name - the namepublic Modifier(String name, List<ModifierEngine> engine)
name - the name of the parameterengine - the engine to be usedpublic void addEngine(ModifierEngine engine)
engine - the engine to setpublic List<ModifierEngine> getEngine()
public String getExpression()
public String getName()
public void setEngine(List<ModifierEngine> engine)
engine - the engine to setpublic void setExpression(String expression)
expression - the expression to setpublic void setName(String name)
name - the name to setCopyright © 2018. All rights reserved.