org.drools.ide.common.client.modeldriven.dt52
Class BRLRuleModel.Pattern52FactPatternAdaptor
java.lang.Object
org.drools.ide.common.client.modeldriven.brl.FactPattern
org.drools.ide.common.client.modeldriven.dt52.BRLRuleModel.Pattern52FactPatternAdaptor
- All Implemented Interfaces:
- Serializable, PortableObject, HasCEPWindow, HasConstraints, IFactPattern, IPattern
- Enclosing class:
- BRLRuleModel
public static class BRLRuleModel.Pattern52FactPatternAdaptor
- extends FactPattern
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isBound
public boolean isBound()
- Description copied from class:
FactPattern
- Returns true if there is a variable bound to this fact.
- Overrides:
isBound in class FactPattern
getBoundName
public String getBoundName()
- Overrides:
getBoundName in class FactPattern
getFactType
public String getFactType()
- Specified by:
getFactType in interface IFactPattern- Overrides:
getFactType in class FactPattern
isNegated
public boolean isNegated()
- Overrides:
isNegated in class FactPattern
setBoundName
public void setBoundName(String boundName)
- Overrides:
setBoundName in class FactPattern
setNegated
public void setNegated(boolean isNegated)
- Overrides:
setNegated in class FactPattern
addConstraint
public void addConstraint(FieldConstraint constraint)
- Description copied from class:
FactPattern
- This will add a top level constraint.
- Specified by:
addConstraint in interface HasConstraints- Overrides:
addConstraint in class FactPattern
removeConstraint
public void removeConstraint(int idx)
- Specified by:
removeConstraint in interface HasConstraints- Overrides:
removeConstraint in class FactPattern
getFieldConstraints
public FieldConstraint[] getFieldConstraints()
- Description copied from class:
FactPattern
- This will return the list of field constraints that are in the root
CompositeFieldConstraint object. If there is no root, then an empty array
will be returned.
- Overrides:
getFieldConstraints in class FactPattern
- Returns:
- an empty array, or the list of constraints (which may be
composites).
setFieldConstraints
public void setFieldConstraints(List sortedConstraints)
- Overrides:
setFieldConstraints in class FactPattern
setFactType
public void setFactType(String factType)
- Description copied from class:
FactPattern
- WARNING! This method should only be used for fixtures purposes!
- Overrides:
setFactType in class FactPattern
setWindow
public void setWindow(CEPWindow window)
- Specified by:
setWindow in interface HasCEPWindow- Overrides:
setWindow in class FactPattern
getWindow
public CEPWindow getWindow()
- Specified by:
getWindow in interface HasCEPWindow- Overrides:
getWindow in class FactPattern
getNumberOfConstraints
public int getNumberOfConstraints()
- Specified by:
getNumberOfConstraints in interface HasConstraints- Overrides:
getNumberOfConstraints in class FactPattern
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.