public class LiteralRestrictionDescr extends EvaluatorBasedRestrictionDescr
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BOOLEAN |
static int |
TYPE_NULL |
static int |
TYPE_NUMBER |
static int |
TYPE_STRING |
Constructor and Description |
---|
LiteralRestrictionDescr() |
LiteralRestrictionDescr(String evaluator,
boolean isNegated,
List<String> parameters,
String text,
int type) |
LiteralRestrictionDescr(String evaluator,
boolean isNegated,
String text) |
LiteralRestrictionDescr(String evaluator,
boolean isNegated,
String parameterText,
String text,
int type) |
LiteralRestrictionDescr(String evaluator,
String text) |
Modifier and Type | Method and Description |
---|---|
int |
getType() |
Object |
getValue() |
void |
setType(int type) |
String |
toString() |
getEvaluator, getParameters, getParameterText, isNegated, setEvaluator, setNegated, setParameters
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, readExternal, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
public static final int TYPE_NULL
public static final int TYPE_NUMBER
public static final int TYPE_STRING
public static final int TYPE_BOOLEAN
public LiteralRestrictionDescr()
public LiteralRestrictionDescr(String evaluator, boolean isNegated, String text)
public LiteralRestrictionDescr(String evaluator, boolean isNegated, String parameterText, String text, int type)
public String toString()
toString
in class EvaluatorBasedRestrictionDescr
public int getType()
public void setType(int type)
public Object getValue()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.