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 HasConstraints
public void removeConstraint(int idx)
removeConstraint
in interface HasConstraints
public boolean isBound()
public FieldConstraint[] getFieldConstraints()
public void setFieldConstraints(List<FieldConstraint> sortedConstraints)
public String getFactType()
getFactType
in interface IFactPattern
public void setFactType(String factType)
factType
- public void setWindow(CEPWindow window)
setWindow
in interface HasCEPWindow
public CEPWindow getWindow()
getWindow
in interface HasCEPWindow
public FieldConstraint getConstraint(int index)
getConstraint
in interface HasConstraints
public int getNumberOfConstraints()
getNumberOfConstraints
in interface HasConstraints
public CompositeFieldConstraint getConstraintList()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.