forked from krishagni/openspecimen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParticipantConfigXMLTemplateRules.xml
More file actions
22 lines (18 loc) · 1.01 KB
/
ParticipantConfigXMLTemplateRules.xml
File metadata and controls
22 lines (18 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE digester-rules PUBLIC
"-//Apache Commons //DTD digester-rules XML V1.0//EN"
"http://commons.apache.org/digester/dtds/digester-rules-3.0.dtd">
<digester-rules>
<pattern value="COLLECTION_PROTOCOL_PARTICIPANT_CONFIG">
<object-create-rule classname="edu.wustl.catissuecore.util.ParticipantConfig"/>
</pattern>
<pattern value="COLLECTION_PROTOCOL_PARTICIPANT_CONFIG/ATTRIBUTE">
<object-create-rule classname="edu.wustl.catissuecore.dto.ParticipantAttributeDisplayInfoDTO"/>
<set-properties-rule/>
<bean-property-setter-rule pattern="attributeName"/>
<bean-property-setter-rule pattern="defaultValue"/>
<call-method-rule pattern="XMLPermissibleValues/permissible-value" methodname="addPermissibleValue" paramcount="1"/>
<call-param-rule pattern="XMLPermissibleValues/permissible-value" paramnumber="0"/>
<set-next-rule methodname="addParticipantAttributeDisplayInfo"/>
</pattern>
</digester-rules>