Class Not
java.lang.Object
care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
care.smith.top.top_phenotypic_query.c2reasoner.functions.bool.Not
public class Not
extends care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
The function Not is a Boolean operation on a single Boolean expression (argument). It
returns 'false' if the argument is true, otherwise 'true'.
| Arguments | Arguments data types | Return data type | Example |
|---|---|---|---|
| <exp> | <exp>: boolean | boolean |
Not(Overweight) The function returns 'false' if the condition 'Overweight' is true, otherwise 'true'. |
- Author:
- TOP group
-
Method Summary
Modifier and TypeMethodDescriptioncare.smith.top.model.Expressioncalculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) static Notget()static care.smith.top.model.Expressionof(care.smith.top.model.Expression arg) static care.smith.top.model.Expressionof(care.smith.top.model.Phenotype arg) static care.smith.top.model.ExpressionMethods inherited from class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
getFunction, getFunctionId, getType, maxArgumentNumber, minArgumentNumber, toString, toStringValues
-
Method Details
-
get
-
of
public static care.smith.top.model.Expression of(care.smith.top.model.Expression arg) -
of
public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype arg) -
of
-
calculate
public care.smith.top.model.Expression calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) - Specified by:
calculatein classcare.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
-