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, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setText
public 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 Externalizable
readExternal
in class BaseDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseDescr
IOException
public RestrictionConnectiveDescr.RestrictionConnectiveType getConnective()
public void addRestriction(RestrictionDescr restriction)
public void addOrMerge(RestrictionDescr restriction)
public List<RestrictionDescr> getRestrictions()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.