<commit_before><!--
 Copyright 2008-2009 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.opensource.org/licenses/ecl2.php
 
 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="WorkflowProperties" class="org.kuali.rice.krad.datadictionary.WorkflowProperties"
		abstract="true" />

	<bean id="ReferenceDefinition" class="org.kuali.rice.krad.datadictionary.ReferenceDefinition"
		abstract="true" />

	<bean id="HelpDefinition" class="org.kuali.rice.krad.datadictionary.HelpDefinition"
		abstract="true" />

	<bean id="uifTransactionalDocumentEntry"
		class="org.kuali.rice.krad.datadictionary.TransactionalDocumentEntry"
		abstract="true" />

	<bean id="SupportAttributeDefinition"
		class="org.kuali.rice.krad.datadictionary.SupportAttributeDefinition"
		abstract="true" />

	<bean id="WorkflowProperty" class="org.kuali.rice.krad.datadictionary.WorkflowProperty"
		abstract="true" />

	<bean id="AttributeDefinition" class="org.kuali.rice.krad.datadictionary.AttributeDefinition"
		abstract="true" />

	<bean id="ComplexAttributeDefinition" class="org.kuali.rice.krad.datadictionary.ComplexAttributeDefinition"
		abstract="true" />

	<bean id="WorkflowPropertyGroup" class="org.kuali.rice.krad.datadictionary.WorkflowPropertyGroup"
		abstract="true" />

	<bean id="PrimitiveAttributeDefinition"
		class="org.kuali.rice.krad.datadictionary.PrimitiveAttributeDefinition"
		abstract="true" />

	<bean id="MaskFormatterSubString"
		class="org.kuali.rice.krad.datadictionary.mask.MaskFormatterSubString"
		abstract="true" />

	<bean id="SortDefinition" class="org.kuali.rice.krad.datadictionary.SortDefinition"
		abstract="true" />

	<bean id="RelationshipDefinition"
		class="org.kuali.rice.krad.datadictionary.RelationshipDefinition"
		abstract="true" />

	<bean id="uifBusinessObjectEntry" class="org.kuali.rice.krad.datadictionary.BusinessObjectEntry"
		abstract="true" />

	<bean id="DataObjectEntry" class="org.kuali.rice.krad.datadictionary.DataObjectEntry"
		abstract="true" />

	<bean id="Mask" class="org.kuali.rice.krad.datadictionary.mask.Mask"
		abstract="true" />

	<bean id="MaskFormatterLiteral"
		class="org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral"
		abstract="true" />

	<bean id="CollectionDefinition" class="org.kuali.rice.krad.datadictionary.CollectionDefinition"
		abstract="true" />

	<bean id="uifMaintenanceDocumentEntry"
		class="org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry"
		abstract="true">
        <property name="maintainableClass" value="org.kuali.rice.krad.maintenance.MaintainableImpl"/>
        <property name="dataObjectClass" value="org.kuali.rice.krad.document.MaintenanceDocumentBase"/>
    </bean>

	<bean id="InactivationBlockingDefinition"
		class="org.kuali.rice.krad.datadictionary.InactivationBlockingDefinition"
		abstract="true" />

	<bean id="ExternalizableAttributeDefinitionProxy"
		class="org.kuali.rice.krad.datadictionary.ExternalizableAttributeDefinitionProxy"
		abstract="true" />

	<bean id="AttributeSecurity" class="org.kuali.rice.krad.datadictionary.AttributeSecurity"
		abstract="true" />

	<bean id="WorkflowAttributes" class="org.kuali.rice.krad.datadictionary.WorkflowAttributes"
		abstract="true" />

	<bean id="SearchingAttribute" class="org.kuali.rice.krad.datadictionary.SearchingAttribute"
		abstract="true" />

	<bean id="RoutingAttribute" class="org.kuali.rice.krad.datadictionary.RoutingAttribute"
		abstract="true" />

	<bean id="SearchingTypeDefinition"
		class="org.kuali.rice.krad.datadictionary.SearchingTypeDefinition"
		abstract="true" />

	<bean id="RoutingTypeDefinition" class="org.kuali.rice.krad.datadictionary.RoutingTypeDefinition"
		abstract="true" />

	<bean id="DocumentValuePathGroup"
		class="org.kuali.rice.krad.datadictionary.DocumentValuePathGroup"
		abstract="true" />

	<bean id="DocumentCollectionPath"
		class="org.kuali.rice.krad.datadictionary.DocumentCollectionPath"
		abstract="true" />
	
	<bean id="DataDictionaryBeanOverride" class="org.kuali.rice.krad.datadictionary.impl.BeanOverrideImpl" abstract="true">
	  	<property name="beanName" value="" />
	  	<property name="fieldOverrides">
	  		<list />
	  	</property>
	</bean>
  		
	<bean id="FieldOverrideForValueReplace" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForValueReplaceImpl" abstract="true">
		<property name="propertyName" value="" />
		<property name="value" value="" />
	</bean>  		

	<bean id="FieldOverrideForListElementDelete" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementDeleteImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName" value="" />
		<property name="element" value="" />
	</bean>  		

	<bean id="FieldOverrideForListElementInsert" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementInsertImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName"><null /></property>
		<property name="element"><null /></property>
		<property name="insertAfter"><null /></property>
		<property name="insertBefore"><null /></property>
	</bean>  		

	<bean id="FieldOverrideForListElementReplace" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementReplaceImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName"><null /></property>
		<property name="element"><null /></property>
		<property name="replaceWith"><null /></property>
	</bean> 
	
	<!--Constraints-->
	<bean id="ValidCharactersConstraint" 
		abstract="true" 
		class="org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint" />

    <!-- Begin Character Level Constraints -->

	<bean id="AlphaNumericPatternConstraint" 
		abstract="true" 
		class="org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraint" />

    <bean id="AlphaPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint" />

    <bean id="AnyCharacterPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.AnyCharacterPatternConstraint" />

    <bean id="CharsetPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.CharsetPatternConstraint" />

    <bean id="NumericPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.NumericPatternConstraint" />

    <!-- End Character Level Constraints -->
    <!-- Begin Field Level Constraints -->

    <bean id="FixedPointPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.FixedPointPatternConstraint"
        p:labelKey="validation.fixedPoint"/>
        
    <bean id="IntegerPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.IntegerPatternConstraint"
        p:labelKey="validation.integer"/>
        
    <bean id="DatePatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.DatePatternConstraint"
        p:labelKey="validation.date"/>
    
    <bean id="BasicDatePatternConstraint" parent="DatePatternConstraint"
        abstract="true">
        <property name="allowedFormats">
        	<list>
        		<value>MM/dd/yy</value>
        		<value>MM/dd/yyyy</value>
        		<value>MM-dd-yy</value><commit_msg>Added a couple base validation bean definitions to choose from<commit_after><!--
 Copyright 2008-2009 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.opensource.org/licenses/ecl2.php
 
 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="WorkflowProperties" class="org.kuali.rice.krad.datadictionary.WorkflowProperties"
		abstract="true" />

	<bean id="ReferenceDefinition" class="org.kuali.rice.krad.datadictionary.ReferenceDefinition"
		abstract="true" />

	<bean id="HelpDefinition" class="org.kuali.rice.krad.datadictionary.HelpDefinition"
		abstract="true" />

	<bean id="uifTransactionalDocumentEntry"
		class="org.kuali.rice.krad.datadictionary.TransactionalDocumentEntry"
		abstract="true" />

	<bean id="SupportAttributeDefinition"
		class="org.kuali.rice.krad.datadictionary.SupportAttributeDefinition"
		abstract="true" />

	<bean id="WorkflowProperty" class="org.kuali.rice.krad.datadictionary.WorkflowProperty"
		abstract="true" />

	<bean id="AttributeDefinition" class="org.kuali.rice.krad.datadictionary.AttributeDefinition"
		abstract="true" />

	<bean id="ComplexAttributeDefinition" class="org.kuali.rice.krad.datadictionary.ComplexAttributeDefinition"
		abstract="true" />

	<bean id="WorkflowPropertyGroup" class="org.kuali.rice.krad.datadictionary.WorkflowPropertyGroup"
		abstract="true" />

	<bean id="PrimitiveAttributeDefinition"
		class="org.kuali.rice.krad.datadictionary.PrimitiveAttributeDefinition"
		abstract="true" />

	<bean id="MaskFormatterSubString"
		class="org.kuali.rice.krad.datadictionary.mask.MaskFormatterSubString"
		abstract="true" />

	<bean id="SortDefinition" class="org.kuali.rice.krad.datadictionary.SortDefinition"
		abstract="true" />

	<bean id="RelationshipDefinition"
		class="org.kuali.rice.krad.datadictionary.RelationshipDefinition"
		abstract="true" />

	<bean id="uifBusinessObjectEntry" class="org.kuali.rice.krad.datadictionary.BusinessObjectEntry"
		abstract="true" />

	<bean id="DataObjectEntry" class="org.kuali.rice.krad.datadictionary.DataObjectEntry"
		abstract="true" />

	<bean id="Mask" class="org.kuali.rice.krad.datadictionary.mask.Mask"
		abstract="true" />

	<bean id="MaskFormatterLiteral"
		class="org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral"
		abstract="true" />

	<bean id="CollectionDefinition" class="org.kuali.rice.krad.datadictionary.CollectionDefinition"
		abstract="true" />

	<bean id="uifMaintenanceDocumentEntry"
		class="org.kuali.rice.krad.datadictionary.MaintenanceDocumentEntry"
		abstract="true">
        <property name="maintainableClass" value="org.kuali.rice.krad.maintenance.MaintainableImpl"/>
        <property name="dataObjectClass" value="org.kuali.rice.krad.document.MaintenanceDocumentBase"/>
    </bean>

	<bean id="InactivationBlockingDefinition"
		class="org.kuali.rice.krad.datadictionary.InactivationBlockingDefinition"
		abstract="true" />

	<bean id="ExternalizableAttributeDefinitionProxy"
		class="org.kuali.rice.krad.datadictionary.ExternalizableAttributeDefinitionProxy"
		abstract="true" />

	<bean id="AttributeSecurity" class="org.kuali.rice.krad.datadictionary.AttributeSecurity"
		abstract="true" />

	<bean id="WorkflowAttributes" class="org.kuali.rice.krad.datadictionary.WorkflowAttributes"
		abstract="true" />

	<bean id="SearchingAttribute" class="org.kuali.rice.krad.datadictionary.SearchingAttribute"
		abstract="true" />

	<bean id="RoutingAttribute" class="org.kuali.rice.krad.datadictionary.RoutingAttribute"
		abstract="true" />

	<bean id="SearchingTypeDefinition"
		class="org.kuali.rice.krad.datadictionary.SearchingTypeDefinition"
		abstract="true" />

	<bean id="RoutingTypeDefinition" class="org.kuali.rice.krad.datadictionary.RoutingTypeDefinition"
		abstract="true" />

	<bean id="DocumentValuePathGroup"
		class="org.kuali.rice.krad.datadictionary.DocumentValuePathGroup"
		abstract="true" />

	<bean id="DocumentCollectionPath"
		class="org.kuali.rice.krad.datadictionary.DocumentCollectionPath"
		abstract="true" />
	
	<bean id="DataDictionaryBeanOverride" class="org.kuali.rice.krad.datadictionary.impl.BeanOverrideImpl" abstract="true">
	  	<property name="beanName" value="" />
	  	<property name="fieldOverrides">
	  		<list />
	  	</property>
	</bean>
  		
	<bean id="FieldOverrideForValueReplace" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForValueReplaceImpl" abstract="true">
		<property name="propertyName" value="" />
		<property name="value" value="" />
	</bean>  		

	<bean id="FieldOverrideForListElementDelete" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementDeleteImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName" value="" />
		<property name="element" value="" />
	</bean>  		

	<bean id="FieldOverrideForListElementInsert" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementInsertImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName"><null /></property>
		<property name="element"><null /></property>
		<property name="insertAfter"><null /></property>
		<property name="insertBefore"><null /></property>
	</bean>  		

	<bean id="FieldOverrideForListElementReplace" class="org.kuali.rice.krad.datadictionary.impl.FieldOverrideForListElementReplaceImpl" abstract="true">
		<property name="propertyNameForElementCompare" value="name" />
		<property name="propertyName"><null /></property>
		<property name="element"><null /></property>
		<property name="replaceWith"><null /></property>
	</bean> 
	
	<!--Constraints-->
	<bean id="ValidCharactersConstraint" 
		abstract="true" 
		class="org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint" />

    <!-- Begin Character Level Constraints -->

	<bean id="AlphaNumericPatternConstraint" 
		abstract="true" 
		class="org.kuali.rice.krad.datadictionary.validation.constraint.AlphaNumericPatternConstraint" />

    <bean id="AlphaPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint" />

    <bean id="AnyCharacterPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.AnyCharacterPatternConstraint" />

    <bean id="CharsetPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.CharsetPatternConstraint" />

    <bean id="NumericPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.NumericPatternConstraint" />
        
    <bean id="AlphaNumericWithBasicPunc"
    	abstract="true" p:allowWhitespace="true" p:allowQuestionMark="true" p:allowExclaimation="true"
    	p:allowPeriod="true" p:allowParenthesis="true" p:allowDoubleQuote="true" p:allowApostrophe="true"
    	p:allowForwardSlash="true" p:allowDash="true" p:allowColon="true" p:allowSemiColon="true"/>
   	
   	<bean id="AlphaWithBasicPunc"
    	abstract="true" p:allowWhitespace="true" p:allowQuestionMark="true" p:allowExclaimation="true"
    	p:allowPeriod="true" p:allowParenthesis="true" p:allowDoubleQuote="true" p:allowApostrophe="true"
    	p:allowForwardSlash="true" p:allowDash="true" p:allowColon="true" p:allowSemiColon="true"/>
   	
   	<bean id="NumericWithOperators"
    	abstract="true" p:allowWhitespace="true" p:allowAsterisk="true" p:allowPlus="true"
    	p:allowPeriod="true" p:allowParenthesis="true" p:allowForwardSlash="true" p:allowDash="true" 
    	p:allowEquals="true"/>

    <!-- End Character Level Constraints -->
    <!-- Begin Field Level Constraints -->

    <bean id="FixedPointPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.FixedPointPatternConstraint"
        p:labelKey="validation.fixedPoint"/>
        
    <bean id="IntegerPatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.IntegerPatternConstraint"
        p:labelKey="validation.integer"/>
        
    <bean id="DatePatternConstraint" 
        abstract="true" 
        class="org.kuali.rice.krad.datadictionary.validation.constraint.DatePatternConstraint"
        p:labelKey="validation.date"/>
    
    <bean id="BasicDatePatternConstraint" parent="DatePatternConstraint"
        abstract="true">
        <property name="allowedFormats">
        	<list>
        		<value>MM/dd/yy</value>
        		<value>MM/dd/yyyy</value>
        		<value>MM-dd-yy</value>
{'fraction_non_alphanumeric': 0.13640996602491506, 'fraction_numerical': 0.0020385050962627408, 'mean_word_length': 5.199017199017199, 'pattern_counts': {'":': 0, '<': 202, '<?xml version=': 0, '>': 202, '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': '1699261', 'n_tokens_mistral': 5633, 'n_tokens_neox': 5309, 'n_words': 747}