<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="Protocol" parent="Protocol-parentBean" />
	<bean id="Protocol-parentBean" abstract="true" parent="BusinessObjectEntry">
		<property name="businessObjectClass" value="org.kuali.kra.irb.bo.Protocol" />
		<property name="inquiryDefinition" >
			<ref bean="Protocol-inquiryDefinition" />
		</property>
		<property name="lookupDefinition" >
			<ref bean="Protocol-lookupDefinition" />
		</property>
		<property name="titleAttribute" value="protocolId" />

		<property name="attributes" >
			<list>
				<ref bean="Protocol-protocolId" />
				<ref bean="Protocol-protocolNumber" />
				<ref bean="Protocol-sequenceNumber" />
				<ref bean="Protocol-protocolTypeCode" />
				<ref bean="Protocol-protocolStatusCode" />
				<ref bean="Protocol-leadUnitNumber" />
				<ref bean="Protocol-principalInvestigatorId" />
				<ref bean="Protocol-title" />
				<ref bean="Protocol-description" />
				<ref bean="Protocol-applicationDate" />
				<ref bean="Protocol-approvalDate" />
				<ref bean="Protocol-expirationDate" />
				<ref bean="Protocol-lastApprovalDate" />
				<ref bean="Protocol-fdaApplicationNumber" />
				<ref bean="Protocol-referenceNumber1" />
				<ref bean="Protocol-referenceNumber2" />
				<ref bean="Protocol-isBillable" />
				<ref bean="Protocol-specialReviewIndicator" />
				<ref bean="Protocol-vulnerableSubjectIndicator" />
				<ref bean="Protocol-keyStudyPersonIndicator" />
				<ref bean="Protocol-fundingSourceIndicator" />
				<ref bean="Protocol-correspondentIndicator" />
				<ref bean="Protocol-referenceIndicator" />
				<ref bean="Protocol-relatedProjectsIndicator" />
				<ref bean="Protocol-versionNumber" />
			</list>
		</property>
	</bean>

	<!-- Attribute Definitions -->
	
	<bean id="Protocol-protocolId" parent="Protocol-protocolId-parentBean" />
	<bean id="Protocol-protocolId-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="protocolId" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Protocol Id" />
		<property name="shortLabel" value="Protocol Id" />
		<property name="maxLength" value="3" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="5" />
		</property>
		<property name="summary" value="Protocol Id" />
		<property name="description" value="Protocol Id" />
	</bean>

	<bean id="Protocol-protocolNumber" parent="Protocol-protocolNumber-parentBean" /><commit_msg>KCIRB-118: Change maxLength of Protocol Id to 12<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="Protocol" parent="Protocol-parentBean" />
	<bean id="Protocol-parentBean" abstract="true" parent="BusinessObjectEntry">
		<property name="businessObjectClass" value="org.kuali.kra.irb.bo.Protocol" />
		<property name="inquiryDefinition" >
			<ref bean="Protocol-inquiryDefinition" />
		</property>
		<property name="lookupDefinition" >
			<ref bean="Protocol-lookupDefinition" />
		</property>
		<property name="titleAttribute" value="protocolId" />

		<property name="attributes" >
			<list>
				<ref bean="Protocol-protocolId" />
				<ref bean="Protocol-protocolNumber" />
				<ref bean="Protocol-sequenceNumber" />
				<ref bean="Protocol-protocolTypeCode" />
				<ref bean="Protocol-protocolStatusCode" />
				<ref bean="Protocol-leadUnitNumber" />
				<ref bean="Protocol-principalInvestigatorId" />
				<ref bean="Protocol-title" />
				<ref bean="Protocol-description" />
				<ref bean="Protocol-applicationDate" />
				<ref bean="Protocol-approvalDate" />
				<ref bean="Protocol-expirationDate" />
				<ref bean="Protocol-lastApprovalDate" />
				<ref bean="Protocol-fdaApplicationNumber" />
				<ref bean="Protocol-referenceNumber1" />
				<ref bean="Protocol-referenceNumber2" />
				<ref bean="Protocol-isBillable" />
				<ref bean="Protocol-specialReviewIndicator" />
				<ref bean="Protocol-vulnerableSubjectIndicator" />
				<ref bean="Protocol-keyStudyPersonIndicator" />
				<ref bean="Protocol-fundingSourceIndicator" />
				<ref bean="Protocol-correspondentIndicator" />
				<ref bean="Protocol-referenceIndicator" />
				<ref bean="Protocol-relatedProjectsIndicator" />
				<ref bean="Protocol-versionNumber" />
			</list>
		</property>
	</bean>

	<!-- Attribute Definitions -->
	
	<bean id="Protocol-protocolId" parent="Protocol-protocolId-parentBean" />
	<bean id="Protocol-protocolId-parentBean" abstract="true" parent="AttributeDefinition" >
		<property name="name" value="protocolId" />
		<property name="forceUppercase" value="false" />
		<property name="label" value="Protocol Id" />
		<property name="shortLabel" value="Protocol Id" />
		<property name="maxLength" value="12" />
		<property name="validationPattern" >
			<bean parent="NumericValidationPattern" />
		</property>
		<property name="control" >
			<bean parent="TextControlDefinition"
				p:size="12" />
		</property>
		<property name="summary" value="Protocol Id" />
		<property name="description" value="Protocol Id" />
	</bean>

	<bean id="Protocol-protocolNumber" parent="Protocol-protocolNumber-parentBean" />
{'fraction_non_alphanumeric': 0.14890259647109452, 'fraction_numerical': 0.007602926409410415, 'mean_word_length': 4.502762430939226, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, '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': '6077711', 'n_tokens_mistral': 2281, 'n_tokens_neox': 2016, 'n_words': 445}