public class FactPattern extends Object implements IFactPattern, HasCEPWindow, HasConstraints
| Constructor and Description |
|---|
FactPattern() |
FactPattern(String factType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(FieldConstraint constraint)
This will add a top level constraint.
|
boolean |
equals(Object o) |
String |
getBoundName() |
FieldConstraint |
getConstraint(int index) |
CompositeFieldConstraint |
getConstraintList() |
String |
getFactType() |
FieldConstraint[] |
getFieldConstraints()
This will return the list of field constraints that are in the root
CompositeFieldConstraint object.
|
int |
getNumberOfConstraints() |
CEPWindow |
getWindow() |
int |
hashCode() |
boolean |
isBound()
Returns true if there is a variable bound to this fact.
|
boolean |
isNegated() |
void |
removeConstraint(int idx) |
void |
setBoundName(String boundName) |
void |
setFactType(String factType)
WARNING!
|
void |
setFieldConstraints(List<FieldConstraint> sortedConstraints) |
void |
setNegated(boolean isNegated) |
void |
setWindow(CEPWindow window) |
public FactPattern()
public FactPattern(String factType)
public String getBoundName()
public void setBoundName(String boundName)
public boolean isNegated()
public void setNegated(boolean isNegated)
public void addConstraint(FieldConstraint constraint)
addConstraint in interface HasConstraintspublic void removeConstraint(int idx)
removeConstraint in interface HasConstraintspublic boolean isBound()
public FieldConstraint[] getFieldConstraints()
public void setFieldConstraints(List<FieldConstraint> sortedConstraints)
public String getFactType()
getFactType in interface IFactPatternpublic void setFactType(String factType)
factType - public void setWindow(CEPWindow window)
setWindow in interface HasCEPWindowpublic CEPWindow getWindow()
getWindow in interface HasCEPWindowpublic FieldConstraint getConstraint(int index)
getConstraint in interface HasConstraintspublic int getNumberOfConstraints()
getNumberOfConstraints in interface HasConstraintspublic CompositeFieldConstraint getConstraintList()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.