<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2013 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="County" parent="County-parentBean"/>

  <bean id="County-parentBean" abstract="true" parent="BusinessObjectEntry">
    <property name="businessObjectClass" value="org.kuali.rice.location.impl.county.CountyBo"/>
    <property name="inquiryDefinition">
      <ref bean="County-inquiryDefinition"/>
    </property>
    <property name="lookupDefinition">
      <ref bean="County-lookupDefinition"/>
    </property>
    <property name="titleAttribute" value="code"/>
    <property name="objectLabel" value="County"/>
    <property name="attributes">
      <list>
      	<ref bean="County-countryCode"/>
        <ref bean="County-code"/>
        <ref bean="County-stateCode"/>
        <ref bean="County-name"/>
        <ref bean="County-active"/>
      </list>
    </property>
  </bean>
  
  <bean id="County-countryCode" parent="Country-code-parentBean">
    <property name="name" value="countryCode"/>
  </bean>
  
  <bean id="County-code" parent="County-code-parentBean"/>

  <bean id="County-code-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="code"/>
    <property name="forceUppercase" value="true"/>
    <property name="label" value="County Code"/>
    <property name="shortLabel" value="County Cd."/>
    <property name="maxLength" value="10"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern"/>
    </property>
    <property name="required" value="true"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="10"/>
    </property>
    <property name="summary" value="County Abbreviation"/>
    <property name="description" value="The ten digit code for a County"/><commit_msg>KULRICE-8721: County maintenance document, submit without entering info and get errors - worded incorrectly, "code" should be spelled out.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2013 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="County" parent="County-parentBean"/>

  <bean id="County-parentBean" abstract="true" parent="BusinessObjectEntry">
    <property name="businessObjectClass" value="org.kuali.rice.location.impl.county.CountyBo"/>
    <property name="inquiryDefinition">
      <ref bean="County-inquiryDefinition"/>
    </property>
    <property name="lookupDefinition">
      <ref bean="County-lookupDefinition"/>
    </property>
    <property name="titleAttribute" value="code"/>
    <property name="objectLabel" value="County"/>
    <property name="attributes">
      <list>
      	<ref bean="County-countryCode"/>
        <ref bean="County-code"/>
        <ref bean="County-stateCode"/>
        <ref bean="County-name"/>
        <ref bean="County-active"/>
      </list>
    </property>
  </bean>
  
  <bean id="County-countryCode" parent="Country-code-parentBean">
    <property name="name" value="countryCode"/>
  </bean>
  
  <bean id="County-code" parent="County-code-parentBean"/>

  <bean id="County-code-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="code"/>
    <property name="forceUppercase" value="true"/>
    <property name="label" value="County Code"/>
    <property name="shortLabel" value="County Code"/>
    <property name="maxLength" value="10"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern"/>
    </property>
    <property name="required" value="true"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="10"/>
    </property>
    <property name="summary" value="County Abbreviation"/>
    <property name="description" value="The ten digit code for a County"/>
{'fraction_non_alphanumeric': 0.14397240377632534, 'fraction_numerical': 0.00980392156862745, 'mean_word_length': 3.9855203619909503, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 2, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 8}, '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': '7490310', 'n_tokens_mistral': 1591, 'n_tokens_neox': 1499, 'n_words': 402}