}
private static final DynamicTdr fromDataModel(TdrDynamicRule tdrDynamicRule) {
if (tdrDynamicRule==null) throw new IllegalArgumentException("tdrDynamicRule must not be null");
DynamicTdr s = new DynamicTdr();
s.setHttpHeaderName (tdrDynamicRule.getHttpHeaderName());
s.setTdrPropName (tdrDynamicRule.getTdrPropName());
s.setExtractFrom (tdrDynamicRule.getExtractFrom());
TdrType tdrType = new TdrType();
s.setTypes (tdrType);
tdrType.getType().addAll (tdrDynamicRule.getTypes());
return s;
}