public class RestrictionConnectiveDescr extends RestrictionDescr
Modifier and Type | Class and Description |
---|---|
static class |
RestrictionConnectiveDescr.RestrictionConnectiveType
The connective types that can be used for a restriction
|
Modifier and Type | Field and Description |
---|---|
static RestrictionConnectiveDescr.RestrictionConnectiveType |
AND |
static RestrictionConnectiveDescr.RestrictionConnectiveType |
OR |
Constructor and Description |
---|
RestrictionConnectiveDescr(RestrictionConnectiveDescr.RestrictionConnectiveType connective) |
Modifier and Type | Method and Description |
---|---|
void |
addOrMerge(RestrictionDescr restriction) |
void |
addRestriction(RestrictionDescr restriction) |
RestrictionConnectiveDescr.RestrictionConnectiveType |
getConnective() |
List<RestrictionDescr> |
getRestrictions() |
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 RestrictionConnectiveDescr.RestrictionConnectiveType AND
public static final RestrictionConnectiveDescr.RestrictionConnectiveType OR
public RestrictionConnectiveDescr(RestrictionConnectiveDescr.RestrictionConnectiveType connective)
public RestrictionConnectiveDescr.RestrictionConnectiveType getConnective()
public void addRestriction(RestrictionDescr restriction)
public void addOrMerge(RestrictionDescr restriction)
public List<RestrictionDescr> getRestrictions()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.