}
private static final StaticTdr fromDataModel(TdrStaticRule tdrStaticRule) {
if (tdrStaticRule==null) throw new IllegalArgumentException("tdrStaticRule must not be null");
StaticTdr s = new StaticTdr();
s.setValue (tdrStaticRule.getValue());
s.setTdrPropName (tdrStaticRule.getTdrPropName());
s.setPropertyName (tdrStaticRule.getPropertyName());
TdrType tdrType = new TdrType();
s.setTypes (tdrType);
tdrType.getType().addAll (tdrStaticRule.getTypes());
return s;
}