org.drools.ide.common.client.modeldriven.brl
Class CompositeFactPattern
java.lang.Object
org.drools.ide.common.client.modeldriven.brl.CompositeFactPattern
- All Implemented Interfaces:
- Serializable, IPattern, PortableObject
public class CompositeFactPattern
- extends Object
- implements IPattern
Represents first order logic like Or, Not, Exists.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPOSITE_TYPE_NOT
public static final String COMPOSITE_TYPE_NOT
- See Also:
- Constant Field Values
COMPOSITE_TYPE_EXISTS
public static final String COMPOSITE_TYPE_EXISTS
- See Also:
- Constant Field Values
COMPOSITE_TYPE_OR
public static final String COMPOSITE_TYPE_OR
- See Also:
- Constant Field Values
type
public String type
- this will one of: [Not, Exist, Or]
CompositeFactPattern
public CompositeFactPattern(String type)
- This type should be from the contants in this class of course.
CompositeFactPattern
public CompositeFactPattern()
clearFactPatterns
public void clearFactPatterns()
addFactPatterns
public void addFactPatterns(IFactPattern[] patterns)
addFactPattern
public void addFactPattern(IFactPattern pat)
getPatterns
public IFactPattern[] getPatterns()
Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.