<commit_before><!--
/*
 * Copyright 2006-2008 The Kuali Foundation
 * 
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.osedu.org/licenses/ECL-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
		http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

	<bean id="ParticipantType" parent="ParticipantType-parentBean" />
	<bean id="ParticipantType-parentBean" abstract="true" parent="BusinessObjectEntry">
		<property name="businessObjectClass" value="org.kuali.kra.irb.bo.ParticipantType" />
		<property name="inquiryDefinition" >
			<ref bean="ParticipantType-inquiryDefinition" />
		</property>
		<property name="lookupDefinition" >
			<ref bean="ParticipantType-lookupDefinition" />
		</property>
		<property name="titleAttribute" value="participantTypeCode" />
		<property name="attributes" >
			<list>
				<ref bean="ParticipantType-participantTypeCode" />
				<ref bean="ParticipantType-description" />
				<ref bean="ParticipantType-versionNumber" />
			</list>
		</property>
	</bean>

	<!-- Attribute Definitions -->
	
	<bean id="ParticipantType-participantTypeCode" parent="ParticipantType-participantTypeCode-parentBean" />
	<bean id="ParticipantType-participantTypeCode-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="participantTypeCode" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Participant Type Code" />
		<property name="shortLabel" value="Participant Type Code" />
		<property name="maxLength" value="3" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="3" />
		</property>
		<property name="summary" value="Participant Type Code" />
		<property name="description" value="Participant Type Code" />
	</bean>

	<bean id="ParticipantType-description" parent="ParticipantType-description-parentBean" />
	<bean id="ParticipantType-description-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="description" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Description" />
		<property name="shortLabel" value="Description" />
		<property name="maxLength" value="200" />
		<property name="validationPattern" >
            <bean parent="AnyCharacterValidationPattern"
                  p:allowWhitespace="true" />
		</property>
		<property name="control" >
            <bean parent="TextareaControlDefinition"
                  p:rows="5"
                  p:cols="40" />
		</property>
		<property name="summary" value="Description" />
		<property name="description" value="Description" />
	</bean>

	<bean id="ParticipantType-versionNumber" parent="ParticipantType-versionNumber-parentBean" />
	<bean id="ParticipantType-versionNumber-parentBean" abstract="true" parent="AttributeReferenceDummy-versionNumber">
	</bean>

	<!-- Business Object Inquiry Definition -->
	<bean id="ParticipantType-inquiryDefinition" parent="ParticipantType-inquiryDefinition-parentBean" />
	<bean id="ParticipantType-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition">
		<property name="title" value="Participant Type Code" />
		<property name="inquirySections" >
			<list>
				<bean parent="InquirySectionDefinition">
					<property name="title" value="Participant Type Code" />
					<property name="numberOfColumns" value="1" />
					<property name="inquiryFields" >
						<list>
							<bean parent="FieldDefinition"
								p:attributeName="participantTypeCode" 
								p:forceInquiry="true" />
							<bean parent="FieldDefinition"
								p:attributeName="description" />
						</list>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<!-- Business Object Lookup Definition -->
	<bean id="ParticipantType-lookupDefinition" parent="ParticipantType-lookupDefinition-parentBean" />
	<bean id="ParticipantType-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
		<property name="title" value="Participant Type Lookup" />
		<property name="menubar" value="&lt;a href=&quot;index.jsp&quot;&gt;Main&lt;/a&gt;" />
		<property name="instructions" value="Look up a Participant Type" />
		<property name="defaultSort" >
			<bean parent="SortDefinition" >
		</bean>
		</property>
		<property name="lookupFields" >
			<list>
				<bean parent="FieldDefinition"
					p:attributeName="participantTypeCode" 
					p:forceInquiry="true" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
			</list>
		</property>
		<property name="resultFields" >
			<list>
				<bean parent="FieldDefinition"
					p:attributeName="participantTypeCode" 
					p:forceInquiry="true" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
			</list>
		</property>
	</bean>
</beans>
<commit_msg>KCIRB-27: Added select list control to the Participant Type maintenance document.<commit_after><!--
/*
 * Copyright 2006-2008 The Kuali Foundation
 * 
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.osedu.org/licenses/ECL-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
		http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

	<bean id="ParticipantType" parent="ParticipantType-parentBean" />
	<bean id="ParticipantType-parentBean" abstract="true" parent="BusinessObjectEntry">
		<property name="businessObjectClass" value="org.kuali.kra.irb.bo.ParticipantType" />
		<property name="inquiryDefinition" >
			<ref bean="ParticipantType-inquiryDefinition" />
		</property>
		<property name="lookupDefinition" >
			<ref bean="ParticipantType-lookupDefinition" />
		</property>
		<property name="titleAttribute" value="participantTypeCode" />
		<property name="attributes" >
			<list>
				<ref bean="ParticipantType-participantTypeCode" />
				<ref bean="ParticipantType-description" />
				<ref bean="ParticipantType-versionNumber" />
			</list>
		</property>
	</bean>

	<!-- Attribute Definitions -->
	
	<bean id="ParticipantType-participantTypeCode" parent="ParticipantType-participantTypeCode-parentBean" />
	<bean id="ParticipantType-participantTypeCode-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="participantTypeCode" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Participant Type Code" />
		<property name="shortLabel" value="Participant Type Code" />
		<property name="maxLength" value="3" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="SelectControlDefinition"
				p:businessObjectClass="org.kuali.kra.irb.bo.ParticipantType"
				p:valuesFinderClass="org.kuali.kra.lookup.keyvalue.ExtendedPersistableBusinessObjectValuesFinder" 
				p:includeKeyInLabel="false"
				p:keyAttribute="participantTypeCode"
				p:labelAttribute="description" />
		</property>
		<property name="summary" value="Participant Type Code" />
		<property name="description" value="Participant Type Code" />
	</bean>

	<bean id="ParticipantType-description" parent="ParticipantType-description-parentBean" />
	<bean id="ParticipantType-description-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="description" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Description" />
		<property name="shortLabel" value="Description" />
		<property name="maxLength" value="200" />
		<property name="validationPattern" >
            <bean parent="AnyCharacterValidationPattern"
                  p:allowWhitespace="true" />
		</property>
		<property name="control" >
            <bean parent="TextareaControlDefinition"
                  p:rows="5"
                  p:cols="40" />
		</property>
		<property name="summary" value="Description" />
		<property name="description" value="Description" />
	</bean>

	<bean id="ParticipantType-versionNumber" parent="ParticipantType-versionNumber-parentBean" />
	<bean id="ParticipantType-versionNumber-parentBean" abstract="true" parent="AttributeReferenceDummy-versionNumber">
	</bean>

	<!-- Business Object Inquiry Definition -->
	<bean id="ParticipantType-inquiryDefinition" parent="ParticipantType-inquiryDefinition-parentBean" />
	<bean id="ParticipantType-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition">
		<property name="title" value="Participant Type Code" />
		<property name="inquirySections" >
			<list>
				<bean parent="InquirySectionDefinition">
					<property name="title" value="Participant Type Code" />
					<property name="numberOfColumns" value="1" />
					<property name="inquiryFields" >
						<list>
							<bean parent="FieldDefinition"
								p:attributeName="participantTypeCode" 
								p:forceInquiry="true" />
							<bean parent="FieldDefinition"
								p:attributeName="description" />
						</list>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<!-- Business Object Lookup Definition -->
	<bean id="ParticipantType-lookupDefinition" parent="ParticipantType-lookupDefinition-parentBean" />
	<bean id="ParticipantType-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
		<property name="title" value="Participant Type Lookup" />
		<property name="menubar" value="&lt;a href=&quot;index.jsp&quot;&gt;Main&lt;/a&gt;" />
		<property name="instructions" value="Look up a Participant Type" />
		<property name="defaultSort" >
			<bean parent="SortDefinition" >
		</bean>
		</property>
		<property name="lookupFields" >
			<list>
				<bean parent="FieldDefinition"
					p:attributeName="participantTypeCode" 
					p:forceInquiry="true" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
			</list>
		</property>
		<property name="resultFields" >
			<list>
				<bean parent="FieldDefinition"
					p:attributeName="participantTypeCode" 
					p:forceInquiry="true" />
				<bean parent="FieldDefinition"
					p:attributeName="description" />
			</list>
		</property>
	</bean>
</beans>

{'fraction_non_alphanumeric': 0.139703995209171, 'fraction_numerical': 0.004876379502095987, 'mean_word_length': 4.100349040139616, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 201, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6744242', 'n_tokens_mistral': 3942, 'n_tokens_neox': 3287, 'n_words': 674}