org.drools.lang.descr
Class StringConnectiveDescr
java.lang.Object
org.drools.lang.descr.BaseDescr
org.drools.lang.descr.RestrictionDescr
org.drools.lang.descr.StringConnectiveDescr
- All Implemented Interfaces:
- Externalizable, Serializable
public class StringConnectiveDescr
- extends RestrictionDescr
This is used to connect restrictions together for a single field
eg:
age < 40 & > 30
- See Also:
- Serialized Form
Methods inherited from class org.drools.lang.descr.BaseDescr |
getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, getText, readExternal, setEndCharacter, setEndLocation, setLocation, setStartCharacter, setText, writeExternal |
AND
public static final StringConnectiveDescr.RestrictionConnectiveType AND
OR
public static final StringConnectiveDescr.RestrictionConnectiveType OR
StringConnectiveDescr
public StringConnectiveDescr(StringConnectiveDescr.RestrictionConnectiveType connective)
getConnective
public StringConnectiveDescr.RestrictionConnectiveType getConnective()
add
public void add(Object object)
getRestrictions
public List<Object> getRestrictions()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.