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(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 |
readExternal(ObjectInput in) |
void |
setParen(boolean paren) |
void |
setPrefix(String prefix) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
accept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setTextpublic static final ConnectiveDescr.RestrictionConnectiveType AND
public static final ConnectiveDescr.RestrictionConnectiveType OR
public ConnectiveDescr()
public ConnectiveDescr(ConnectiveDescr.RestrictionConnectiveType connective)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class BaseDescrIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class BaseDescrIOExceptionpublic 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–2020 JBoss by Red Hat. All rights reserved.