Package com.rosetta.model.lib.expression
Class ExpressionOperators
java.lang.Object
com.rosetta.model.lib.expression.ExpressionOperators
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> ComparisonResult areEqual(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static ComparisonResultcheckCardinality(String msgPrefix, int actual, int min, int max) Deprecated.static ComparisonResultcheckNumber(String msgPrefix, Integer value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated.static ComparisonResultcheckNumber(String msgPrefix, Long value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated.static ComparisonResultcheckNumber(String msgPrefix, BigDecimal value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated.static ComparisonResultcheckNumber(String msgPrefix, BigInteger value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated.static ComparisonResultcheckNumber(String msgPrefix, List<? extends Number> values, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated.static ComparisonResultcheckString(String msgPrefix, String value, int minLength, Optional<Integer> maxLength, Optional<Pattern> pattern) Deprecated.static ComparisonResultcheckString(String msgPrefix, List<String> values, int minLength, Optional<Integer> maxLength, Optional<Pattern> pattern) Deprecated.static <T> ComparisonResultchoice(Mapper<T> mapper, List<String> choiceFieldNames, ChoiceRuleValidationMethod necessity) Deprecated.static <T> ComparisonResultchoice(Mapper<T> mapper, List<String> choiceFieldNames, ValidationResult.ChoiceRuleValidationMethod necessity) Deprecated.static <T> ComparisonResultDeprecated.static <T> ComparisonResultDeprecated.static <T> MapperC<T> Deprecated.static <T,A extends Mapper<T>>
ADeprecated.static <T,A extends Mapper<T>>
ADeprecated.DoIf implementation for Mappersstatic <T> ComparisonResultDeprecated.static <T extends Comparable<? super T>,U extends Comparable<? super U>>
ComparisonResultgreaterThan(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static <T extends Comparable<? super T>,U extends Comparable<? super U>>
ComparisonResultgreaterThanEquals(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static <T extends Comparable<? super T>,U extends Comparable<? super U>>
ComparisonResultlessThan(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static <T extends Comparable<? super T>,U extends Comparable<? super U>>
ComparisonResultlessThanEquals(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static <T> ComparisonResultmultipleExists(Mapper<T> o) Deprecated.static <T extends Comparable<? super T>>
ComparisonResultnotEqual(ComparisonResult r1, ComparisonResult r2) Deprecated.static <T,U> ComparisonResult notEqual(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated.static <T> ComparisonResultDeprecated.static <T> ComparisonResultDeprecated.static ComparisonResultonlyExists(List<? extends Mapper<?>> o) Deprecated.static ComparisonResultDeprecated.static ComparisonResultresultDoIf(Mapper<Boolean> test, Supplier<Mapper<Boolean>> ifthen, Supplier<Mapper<Boolean>> elsethen) Deprecated.DoIf implementation for ComparisonResult.static <T> ComparisonResultsingleExists(Mapper<T> o) Deprecated.
-
Constructor Details
-
ExpressionOperators
public ExpressionOperators()Deprecated.
-
-
Method Details
-
notExists
Deprecated. -
exists
Deprecated. -
singleExists
Deprecated. -
multipleExists
Deprecated. -
onlyExists
Deprecated. -
onlyExists
public static <T> ComparisonResult onlyExists(Mapper<T> mapper, List<String> allFieldNames, List<String> requiredFields) Deprecated. -
doIf
public static <T,A extends Mapper<T>> A doIf(Mapper<Boolean> test, Supplier<A> ifthen, Supplier<A> elsethen) Deprecated.DoIf implementation for Mappers -
doIf
Deprecated. -
resultDoIf
public static ComparisonResult resultDoIf(Mapper<Boolean> test, Supplier<Mapper<Boolean>> ifthen, Supplier<Mapper<Boolean>> elsethen) Deprecated.DoIf implementation for ComparisonResult. -
resultDoIf
Deprecated. -
areEqual
Deprecated. -
notEqual
Deprecated. -
notEqual
public static <T extends Comparable<? super T>> ComparisonResult notEqual(ComparisonResult r1, ComparisonResult r2) Deprecated. -
greaterThan
public static <T extends Comparable<? super T>,U extends Comparable<? super U>> ComparisonResult greaterThan(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated. -
greaterThanEquals
public static <T extends Comparable<? super T>,U extends Comparable<? super U>> ComparisonResult greaterThanEquals(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated. -
lessThan
public static <T extends Comparable<? super T>,U extends Comparable<? super U>> ComparisonResult lessThan(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated. -
lessThanEquals
public static <T extends Comparable<? super T>,U extends Comparable<? super U>> ComparisonResult lessThanEquals(Mapper<T> m1, Mapper<U> m2, CardinalityOperator o) Deprecated. -
contains
Deprecated. -
disjoint
Deprecated. -
distinct
Deprecated. -
checkCardinality
Deprecated. -
checkString
public static ComparisonResult checkString(String msgPrefix, String value, int minLength, Optional<Integer> maxLength, Optional<Pattern> pattern) Deprecated. -
checkString
public static ComparisonResult checkString(String msgPrefix, List<String> values, int minLength, Optional<Integer> maxLength, Optional<Pattern> pattern) Deprecated. -
checkNumber
public static ComparisonResult checkNumber(String msgPrefix, BigDecimal value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated. -
checkNumber
public static ComparisonResult checkNumber(String msgPrefix, Integer value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated. -
checkNumber
public static ComparisonResult checkNumber(String msgPrefix, Long value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated. -
checkNumber
public static ComparisonResult checkNumber(String msgPrefix, BigInteger value, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated. -
checkNumber
public static ComparisonResult checkNumber(String msgPrefix, List<? extends Number> values, Optional<Integer> digits, Optional<Integer> fractionalDigits, Optional<BigDecimal> min, Optional<BigDecimal> max) Deprecated. -
choice
@Deprecated public static <T> ComparisonResult choice(Mapper<T> mapper, List<String> choiceFieldNames, ValidationResult.ChoiceRuleValidationMethod necessity) Deprecated. -
choice
public static <T> ComparisonResult choice(Mapper<T> mapper, List<String> choiceFieldNames, ChoiceRuleValidationMethod necessity) Deprecated.
-
ExpressionOperatorsNullSafeinstead