(LoadContext context, T obj)
| 96 | } |
| 97 | |
| 98 | @Override |
| 99 | public String[] unparse(LoadContext context, T obj) |
| 100 | { |
| 101 | FactKey<F> fk = def.getFactKey(); |
| 102 | boolean removed = context.getObjectContext().wasRemoved(obj, fk); |
| 103 | List<String> results = new ArrayList<>(2); |
| 104 | if (removed) |
| 105 | { |
| 106 | results.add(Constants.LST_DOT_CLEAR); |
| 107 | } |
| 108 | Indirect<F> fact = context.getObjectContext().getFact(obj, fk); |
| 109 | if (fact != null) |
| 110 | { |
| 111 | results.add(fact.getUnconverted()); |
| 112 | } |
| 113 | return results.toArray(new String[0]); |
| 114 | } |
| 115 | |
| 116 | } |
nothing calls this directly
no test coverage detected