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(RestrictionConnectiveDescr.RestrictionConnectiveType connective) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrMerge(RestrictionDescr restriction) |
void |
addRestriction(RestrictionDescr restriction) |
RestrictionConnectiveDescr.RestrictionConnectiveType |
getConnective() |
List<RestrictionDescr> |
getRestrictions() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setTextpublic static final RestrictionConnectiveDescr.RestrictionConnectiveType AND
public static final RestrictionConnectiveDescr.RestrictionConnectiveType OR
public RestrictionConnectiveDescr()
public RestrictionConnectiveDescr(RestrictionConnectiveDescr.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 RestrictionConnectiveDescr.RestrictionConnectiveType getConnective()
public void addRestriction(RestrictionDescr restriction)
public void addOrMerge(RestrictionDescr restriction)
public List<RestrictionDescr> getRestrictions()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.