public class RestrictionConnectiveDescr extends RestrictionDescr
| Modifier and Type | Field and Description |
|---|---|
static ConnectiveDescr.RestrictionConnectiveType |
AND |
static ConnectiveDescr.RestrictionConnectiveType |
OR |
| Constructor and Description |
|---|
RestrictionConnectiveDescr() |
RestrictionConnectiveDescr(ConnectiveDescr.RestrictionConnectiveType connective) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrMerge(RestrictionDescr restriction) |
void |
addRestriction(RestrictionDescr restriction) |
ConnectiveDescr.RestrictionConnectiveType |
getConnective() |
List<RestrictionDescr> |
getRestrictions() |
void |
readExternal(ObjectInput in) |
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 RestrictionConnectiveDescr()
public RestrictionConnectiveDescr(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 void addRestriction(RestrictionDescr restriction)
public void addOrMerge(RestrictionDescr restriction)
public List<RestrictionDescr> getRestrictions()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.