Package org.dmg.pmml
Class CompoundPredicate
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Predicate
-
- org.dmg.pmml.CompoundPredicate
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<CompoundPredicate>,HasLocator,Visitable
public class CompoundPredicate extends Predicate implements HasExtensions<CompoundPredicate>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompoundPredicate.BooleanOperator
-
Constructor Summary
Constructors Constructor Description CompoundPredicate()CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator, java.util.List<Predicate> predicates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VisitorActionaccept(Visitor visitor)CompoundPredicateaddExtensions(Extension... extensions)CompoundPredicateaddPredicates(Predicate... predicates)CompoundPredicate.BooleanOperatorgetBooleanOperator()java.util.List<Extension>getExtensions()java.util.List<Predicate>getPredicates()booleanhasExtensions()booleanhasPredicates()CompoundPredicate.BooleanOperatorrequireBooleanOperator()java.util.List<Predicate>requirePredicates()CompoundPredicatesetBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator)-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
CompoundPredicate
public CompoundPredicate()
-
CompoundPredicate
public CompoundPredicate(CompoundPredicate.BooleanOperator booleanOperator, java.util.List<Predicate> predicates)
-
-
Method Detail
-
requireBooleanOperator
public CompoundPredicate.BooleanOperator requireBooleanOperator()
-
getBooleanOperator
public CompoundPredicate.BooleanOperator getBooleanOperator()
-
setBooleanOperator
public CompoundPredicate setBooleanOperator(CompoundPredicate.BooleanOperator booleanOperator)
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<CompoundPredicate>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<CompoundPredicate>
-
addExtensions
public CompoundPredicate addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<CompoundPredicate>
-
hasPredicates
public boolean hasPredicates()
-
requirePredicates
public java.util.List<Predicate> requirePredicates()
-
getPredicates
public java.util.List<Predicate> getPredicates()
-
addPredicates
public CompoundPredicate addPredicates(Predicate... predicates)
-
accept
public VisitorAction accept(Visitor visitor)
-
-