public class ExprConstraintDescr extends BaseDescr implements ExpressionDescr
| Modifier and Type | Class and Description |
|---|---|
static class |
ExprConstraintDescr.Type |
| Constructor and Description |
|---|
ExprConstraintDescr() |
ExprConstraintDescr(String expr) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression() |
int |
getPosition() |
ExprConstraintDescr.Type |
getType() |
void |
setExpression(String expr) |
void |
setPosition(int position) |
void |
setType(ExprConstraintDescr.Type type) |
String |
toString() |
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, readExternal, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternalpublic ExprConstraintDescr()
public ExprConstraintDescr(String expr)
public void setExpression(String expr)
public String getExpression()
getExpression in interface ExpressionDescrpublic ExprConstraintDescr.Type getType()
public void setType(ExprConstraintDescr.Type type)
type - the type to setpublic int getPosition()
public void setPosition(int position)
position - the position to setCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.