public class ConnectiveDescr extends RestrictionDescr
Modifier and Type | Class and Description |
---|---|
static class |
ConnectiveDescr.RestrictionConnectiveType
The connective types that can be used for a restriction
|
Modifier and Type | Field and Description |
---|---|
static ConnectiveDescr.RestrictionConnectiveType |
AND |
static ConnectiveDescr.RestrictionConnectiveType |
OR |
Constructor and Description |
---|
ConnectiveDescr(ConnectiveDescr.RestrictionConnectiveType connective) |
Modifier and Type | Method and Description |
---|---|
void |
add(ConnectiveDescr restriction) |
void |
add(String restriction) |
void |
buildExpression(StringBuilder sb) |
ConnectiveDescr.RestrictionConnectiveType |
getConnective() |
String |
getPrefix() |
List<Object> |
getRestrictions() |
boolean |
isParen() |
void |
setParen(boolean paren) |
void |
setPrefix(String prefix) |
String |
toString() |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, readExternal, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText, writeExternal
public static final ConnectiveDescr.RestrictionConnectiveType AND
public static final ConnectiveDescr.RestrictionConnectiveType OR
public ConnectiveDescr(ConnectiveDescr.RestrictionConnectiveType connective)
public ConnectiveDescr.RestrictionConnectiveType getConnective()
public boolean isParen()
public void setParen(boolean paren)
public String getPrefix()
public void setPrefix(String prefix)
public void add(ConnectiveDescr restriction)
public void add(String restriction)
public void buildExpression(StringBuilder sb)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.