Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
AbstractDataFilter |
|
| 1.0;1 |
1 | package org.kuali.student.common.assembly.transform; | |
2 | ||
3 | import java.util.Map; | |
4 | ||
5 | import org.kuali.student.common.assembly.data.Data; | |
6 | import org.kuali.student.common.assembly.data.Metadata; | |
7 | ||
8 | 2 | public abstract class AbstractDataFilter implements TransformFilter { |
9 | ||
10 | /** | |
11 | * This can be used to apply filters in the inbound data object. | |
12 | * | |
13 | * @param data The inbound data object | |
14 | * @param metadata The metadata for the inbound data object. The metadata will be the unfiltered metadata. | |
15 | */ | |
16 | public void applyInboundDataFilter(Data data, Metadata metadata, Map<String, Object> properties) throws Exception{ | |
17 | ||
18 | 0 | } |
19 | ||
20 | /** | |
21 | * | |
22 | * @param data The outbound data object | |
23 | * @param metadata The metadata for the outbound data object. The metadata will be the unfiltered meatadata | |
24 | */ | |
25 | public void applyOutboundDataFilter(Data data, Metadata metadata, Map<String, Object> properties) throws Exception{ | |
26 | ||
27 | 0 | } |
28 | ||
29 | @Override | |
30 | public Class<?> getType() { | |
31 | 0 | return Data.class; |
32 | } | |
33 | } |