Package eu.europa.ec.taxud.dac8.vm.utils
Class RuleUtils
java.lang.Object
eu.europa.ec.taxud.dac8.vm.utils.RuleUtils
Rule utils.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisParameterProvided(Object parameter) Permits to check if an object is not null and not empty.static booleanisParameterProvided(String parameter) Permits to check if a String parameter is not null and not empty.static booleanresCountryMatches(String receiving, NodeList userRes, NodeList ctrlRes) Res country matches boolean.
-
Method Details
-
isParameterProvided
Permits to check if an object is not null and not empty.- Parameters:
parameter- The parameter to check.- Returns:
- true if the parameter is not null and not empty
-
isParameterProvided
Permits to check if a String parameter is not null and not empty.- Parameters:
parameter- The parameter to check.- Returns:
- true if the parameter is not null and not empty
-
resCountryMatches
Res country matches boolean.- Parameters:
receiving- the receivinguserRes- the user resctrlRes- the ctrl res- Returns:
- the boolean
-