| Package | Description |
|---|---|
| org.protempa | |
| org.protempa.backend.dsb.filter | |
| org.protempa.dest.table | |
| org.protempa.proposition.value |
| Modifier and Type | Method and Description |
|---|---|
ValueComparator[] |
AlgorithmParameter.getComparators()
Returns the allowed comparators for this parameter.
|
ValueComparator |
LowLevelAbstractionValueDefinition.getParameterComp(String str) |
ValueComparator |
PropertyConstraint.getValueComp() |
ValueComparator |
AlgorithmArguments.valueComp(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AlgorithmParameter.hasComparator(ValueComparator valueComparator)
Returns true if the given value comparator is allowed for this parameter.
|
void |
LowLevelAbstractionValueDefinition.setParameterComp(String str,
ValueComparator comp) |
void |
PropertyConstraint.setValueComp(ValueComparator valueComp) |
| Constructor and Description |
|---|
AlgorithmParameter(String name,
ValueComparator[] comparators,
ValueType valueType)
Defines a parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ValueComparator |
ValueFilter.getComparator() |
ValueComparator |
PropertyValueFilter.getValueComparator()
Gets the specified operator.
|
| Constructor and Description |
|---|
PropertyValueFilter(String[] propositionIds,
String property,
ValueComparator valueComparator,
Value... values)
Instantiate with the proposition ids to which this filter applies,
the property to which this filter applies, the operator and a value.
|
ValueFilter(String[] propIds,
ValueComparator comparator,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
ValueComparator |
PropertyConstraint.getValueComparator()
Gets the comparator of the constraint.
|
| Constructor and Description |
|---|
PropertyConstraint(String propertyName,
ValueComparator valueComparator,
Value value)
Constructs a property constraint with a property name, comparator and
one or more values.
|
| Modifier and Type | Method and Description |
|---|---|
ValueComparator |
ValueList.compare(Value val)
Compares a value list for membership in another value list.
|
ValueComparator |
Value.compare(Value val)
Returns whether the given value is greater, less than, equal to or not
equal to this value.
|
ValueComparator |
OrdinalValue.compare(Value o)
Compares this value and another according to the defined order, or
checks this number value for membership in a value list.
|
ValueComparator |
NumberValue.compare(Value o)
Compares this value and another numerically, or checks this number value
for membership in a value list.
|
ValueComparator |
NominalValue.compare(Value o)
Compares this nominal value and another lexically.
|
ValueComparator |
InequalityNumberValue.compare(Value d2)
Compares this value and another numerically, or checks this value
for membership in a value list.
|
ValueComparator |
DateValue.compare(Value o)
Compares this date value and another date value according to their
natural order, or checks this date value for membership in a value list.
|
ValueComparator |
BooleanValue.compare(Value val)
Returns
UNKNOWN, as boolean values do not
have a natural order, unless the provided value is a value list, for
which this method tests for membership in the list. |
ValueComparator |
InequalityNumberValueBuilder.getComparator() |
ValueComparator |
InequalityNumberValue.getComparator() |
ValueComparator |
InequalityNumberValue.getInequality() |
static ValueComparator |
ValueComparator.parse(String compString)
Gets the comparison object corresponding to the given mathematical
comparison symbol.
|
static ValueComparator |
ValueComparator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueComparator[] |
ValueComparator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
ValueComparator.includes(ValueComparator comparator)
Returns whether this
ValueComparator is the same as or includes
the specified ValueComparator. |
void |
InequalityNumberValueBuilder.setComparator(ValueComparator comparator) |
| Constructor and Description |
|---|
InequalityNumberValue(ValueComparator comparator,
BigDecimal val)
Creates a new
InequalityNumberValue with the given
comparator and value. |
InequalityNumberValue(ValueComparator comparator,
double val)
Creates a new
InequalityNumberValue with the given
comparator and value. |
Copyright © 2012–2017 Emory University. All rights reserved.