Class Function
java.lang.Object
ch.tocco.nice2.persist.core.api.qb2.Condition
ch.tocco.nice2.persist.core.api.qb2.Factor
ch.tocco.nice2.persist.core.api.qb2.Function
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Node
create
(TypeManager typeManager, EntityModel entityModel) Creates a new node representing this condition.boolean
get
(int index) int
hashCode()
boolean
isEmpty()
isTrue()
Specifies to wrap this function in anIsTrueNode
.iterator()
Adds all given arguments to the functions argument list.Adds all given arguments to the functions argument list.Adds the given parameter names to the functions arguments.Adds the given parameter names to the functions arguments.Adds all given paths to the functions argument list.Adds the given path to the argument list of this function.int
size()
toString()
Methods inherited from class ch.tocco.nice2.persist.core.api.qb2.Factor
between, between, fromLiteral, fromLiteralFunction, fromParameter, fromParameterFunction, fromPath, fromPathFunction, fuzzyIs, greaterEqual, greaterEqual, greaterThan, greaterThan, is, is, isNot, isNot, like, like, lowerEqual, lowerEqual, lowerThan, lowerThan
Methods inherited from class ch.tocco.nice2.persist.core.api.qb2.Condition
createPathNode, createPathNode, getType
-
Constructor Details
-
Function
-
-
Method Details
-
create
Description copied from class:Condition
Creates a new node representing this condition. -
isTrue
Specifies to wrap this function in anIsTrueNode
. For functions that return a boolean value, this would remove the need to create anEquation
using atrue
literal on the other side. -
arguments
-
arguments
-
literals
Adds all given arguments to the functions argument list. -
literals
-
literals
Adds all given arguments to the functions argument list. -
paths
Adds the given path to the argument list of this function. -
paths
Adds all given paths to the functions argument list. -
params
Adds the given parameter names to the functions arguments. -
params
Adds the given parameter names to the functions arguments. -
size
public int size() -
isEmpty
public boolean isEmpty() -
iterator
-
get
-
equals
-
hashCode
public int hashCode() -
toString
-