Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?><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">
<!--

    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.

-->
  <bean id="ExternalIdentifierType" parent="ExternalIdentifierType-parentBean"/>
  <bean id="ExternalIdentifierType-parentBean" abstract="true" parent="BusinessObjectEntry">
    <property name="businessObjectClass" value="org.kuali.rice.kim.impl.identity.external.EntityExternalIdentifierTypeBo"/>
    <property name="inquiryDefinition">
      <ref bean="ExternalIdentifierType-inquiryDefinition"/>
    </property>
    <property name="lookupDefinition">
      <ref bean="ExternalIdentifierType-lookupDefinition"/>
    </property>
    <property name="objectLabel" value="External Identifier Type"/>
    <property name="attributes">
      <list>
        <ref bean="ExternalIdentifierType-externalIdentifierTypeCode"/>
        <ref bean="ExternalIdentifierType-externalIdentifierTypeName"/>
        <ref bean="ExternalIdentifierType-displaySortCode"/>
        <ref bean="ExternalIdentifierType-active"/>
        
      </list>
    </property>
  </bean>

<!-- Attribute Definitions -->

  <bean id="ExternalIdentifierType-externalIdentifierTypeCode" parent="ExternalIdentifierType-externalIdentifierTypeCode-parentBean"/>
  <bean id="ExternalIdentifierType-externalIdentifierTypeCode-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="true"/>
    <property name="name" value="code"/>
    <property name="label" value="External Identifier Type Code"/>
    <property name="shortLabel" value="External Identifier Type Code"/>
    <property name="maxLength" value="7"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="9"/>
    </property>
    <property name="summary" value="The external identifier type code."/>
    <property name="description" value="The external identifier type code."/>
  </bean>

  <bean id="ExternalIdentifierType-externalIdentifierTypeName" parent="ExternalIdentifierType-externalIdentifierTypeName-parentBean"/>
  <bean id="ExternalIdentifierType-externalIdentifierTypeName-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="name"/>
    <property name="label" value="External Identifier Type Name"/>
    <property name="shortLabel" value="Name"/>
    <property name="maxLength" value="50"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="52"/>
    </property>
    <property name="summary" value="Descriptive text."/>
    <property name="description" value="Descriptive text."/>
  </bean>
  
  <bean id="ExternalIdentifierType-displaySortCode" parent="ExternalIdentifierType-displaySortCode-parentBean"/>
  <bean id="ExternalIdentifierType-displaySortCode-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="name" value="sortCode"/>
    <property name="label" value="Display Sort Code"/>
    <property name="shortLabel" value="Sort"/>
    <property name="maxLength" value="1"/>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="3"/>
    </property>
    <property name="summary" value="Descriptive text."/>
    <property name="description" value="Descriptive text."/>
  </bean>

  <bean id="ExternalIdentifierType-active" parent="ExternalIdentifierType-active-parentBean"/>
  <bean id="ExternalIdentifierType-active-parentBean" abstract="true" parent="AttributeReferenceDummy-activeIndicator">
    <property name="name" value="active"/>
  </bean>

<!-- Business Object Inquiry Definition -->

  <bean id="ExternalIdentifierType-inquiryDefinition" parent="ExternalIdentifierType-inquiryDefinition-parentBean"/>
  <bean id="ExternalIdentifierType-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition">
    <property name="title" value="External Identifier Type"/>
    <property name="inquirySections">
      <list>
        <bean parent="InquirySectionDefinition">
          <property name="title" value="External Identifier Type"/>
          <property name="numberOfColumns" value="1"/>
          <property name="inquiryFields">
            <list>
              <bean parent="FieldDefinition" p:attributeName="code"/>
              <bean parent="FieldDefinition" p:attributeName="name"/>
              <bean parent="FieldDefinition" p:attributeName="sortCode"/>
              <bean parent="FieldDefinition" p:attributeName="active"/>
            </list>
          </property>
        </bean>
      </list>
    </property>
  </bean>

<!-- Business Object Lookup Definition -->

  <bean id="ExternalIdentifierType-lookupDefinition" parent="ExternalIdentifierType-lookupDefinition-parentBean"/>
  <bean id="ExternalIdentifierType-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
    <property name="title" value="External Identifier Type Lookup"/>
    
    <property name="lookupFields">
      <list>
        <bean parent="FieldDefinition" p:attributeName="code"/>
        <bean parent="FieldDefinition" p:attributeName="name"/>
        <bean parent="FieldDefinition" p:attributeName="active" p:defaultValue="Y"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="FieldDefinition" p:attributeName="code"/>
        <bean parent="FieldDefinition" p:attributeName="name"/>
		<bean parent="FieldDefinition" p:attributeName="sortCode"/>
        <bean parent="FieldDefinition" p:attributeName="active"/>
      </list>
    </property>
  </bean>
</beans>
New to GrepCode? Check out our FAQ X