if (stringFunctionAtom instanceof HigherOrderSWRLAtom) {
stringArgument = ((HigherOrderSWRLAtom) stringFunctionAtom).getBindableArgument();
listOfArguments.addAll(((HigherOrderSWRLAtom) stringFunctionAtom).getAtoms());
} else if (stringFunctionAtom instanceof ArgumentSWRLAtom) {
SWRLArgument swrlArgument = ((ArgumentSWRLAtom) stringFunctionAtom).getSwrlArgument();
stringArgument = (SWRLDArgument) swrlArgument;
} else {
throw new org.apache.stanbol.rules.base.api.RuleAtomCallExeption(getClass());
}
if (startAtom instanceof HigherOrderSWRLAtom) {
startArgument = ((HigherOrderSWRLAtom) startAtom).getBindableArgument();
listOfArguments.addAll(((HigherOrderSWRLAtom) startAtom).getAtoms());
} else if (startAtom instanceof ArgumentSWRLAtom) {
SWRLArgument swrlArgument = ((ArgumentSWRLAtom) startAtom).getSwrlArgument();
startArgument = (SWRLDArgument) swrlArgument;
} else {
throw new org.apache.stanbol.rules.base.api.RuleAtomCallExeption(getClass());
}
if (lengthAtom instanceof HigherOrderSWRLAtom) {
lengthArgument = ((HigherOrderSWRLAtom) lengthAtom).getBindableArgument();
listOfArguments.addAll(((HigherOrderSWRLAtom) lengthAtom).getAtoms());
} else if (lengthAtom instanceof ArgumentSWRLAtom) {
SWRLArgument swrlArgument = ((ArgumentSWRLAtom) lengthAtom).getSwrlArgument();
lengthArgument = (SWRLDArgument) swrlArgument;
} else {
throw new org.apache.stanbol.rules.base.api.RuleAtomCallExeption(getClass());
}