Commit bd4c4042 authored by R.W.Majeed's avatar R.W.Majeed

drop-fact action executed

parent 1a5013e8
......@@ -107,10 +107,15 @@ public abstract class Column<T> {
if( mc.setValue != null ){
action.overrideValue(mc.setValue);
}
// TODO check action
// set concept
if( mc.setConcept != null ){
action.overrideConcept(mc.setConcept);
}
// check action
if( mc.action != null && mc.action.equals("drop-fact") ){
action.dropFact();
// TODO check after loading for illegal values or use enum
}
break;
}
}
......@@ -121,7 +126,11 @@ public abstract class Column<T> {
if( map.otherwise.setConcept != null ){
action.overrideConcept(map.otherwise.setConcept);
}
// TODO check action
// check action
if( map.otherwise.action != null && map.otherwise.action.equals("drop-fact") ){
action.dropFact();
// TODO check after loading for illegal values or use enum
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment