public class ConstraintConnectiveDescr extends AnnotatedBaseDescr
Constructor and Description |
---|
ConstraintConnectiveDescr() |
ConstraintConnectiveDescr(ConnectiveType connective) |
Modifier and Type | Method and Description |
---|---|
void |
addDescr(BaseDescr baseDescr) |
void |
addOrMerge(BaseDescr baseDescr) |
void |
copyLocation(BaseDescr d) |
ConnectiveType |
getConnective() |
List<BaseDescr> |
getDescrs() |
boolean |
isNegated() |
static ConstraintConnectiveDescr |
newAnd() |
static ConstraintConnectiveDescr |
newIncAnd() |
static ConstraintConnectiveDescr |
newIncOr() |
static ConstraintConnectiveDescr |
newOr() |
static ConstraintConnectiveDescr |
newXor() |
void |
setConnective(ConnectiveType connective) |
void |
setNegated(boolean negated) |
void |
setResource(org.kie.api.io.Resource resource) |
String |
toString() |
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQN, readExternal, writeExternal
accept, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, negate, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setStartCharacter, setText
public ConstraintConnectiveDescr()
public ConstraintConnectiveDescr(ConnectiveType connective)
public static ConstraintConnectiveDescr newAnd()
public static ConstraintConnectiveDescr newOr()
public static ConstraintConnectiveDescr newXor()
public static ConstraintConnectiveDescr newIncAnd()
public static ConstraintConnectiveDescr newIncOr()
public void addDescr(BaseDescr baseDescr)
public ConnectiveType getConnective()
public void setConnective(ConnectiveType connective)
public void addOrMerge(BaseDescr baseDescr)
public void setResource(org.kie.api.io.Resource resource)
setResource
in class BaseDescr
public void copyLocation(BaseDescr d)
copyLocation
in class BaseDescr
public void setNegated(boolean negated)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.