public class AndOr extends LogicalPredicate
Constructor and Description |
---|
AndOr() |
Modifier and Type | Method and Description |
---|---|
boolean |
addPredicate(Predicate p) |
List<Predicate> |
getPredicateList() |
AndOrType |
getType() |
void |
setPredicateList(List<Predicate> predicateList) |
void |
setType(AndOrType type) |
String |
toString() |
public boolean addPredicate(Predicate p)
p
- the new predicatepublic void setPredicateList(List<Predicate> predicateList)
predicateList
- the predicateList to setpublic AndOrType getType()
public void setType(AndOrType type)
type
- the type to setpublic String toString()
toString
in class FolExpression
Copyright © 2018. All rights reserved.