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="NoteType" parent="NoteType-parentBean"/>

  <bean id="NoteType-parentBean" abstract="true" parent="BusinessObjectEntry">
    <property name="businessObjectClass" value="org.kuali.rice.krad.bo.NoteType"/>
    <property name="inquiryDefinition">
      <ref bean="NoteType-inquiryDefinition"/>
    </property>
    <property name="lookupDefinition">
      <ref bean="NoteType-lookupDefinition"/>
    </property>
    <property name="attributes">
      <list>
        <ref bean="NoteType-noteTypeActiveIndicator"/>
        <ref bean="NoteType-noteTypeCode"/>
        <ref bean="NoteType-noteTypeDescription"/>
        <ref bean="NoteType-versionNumber"/>
      </list>
    </property>
    <property name="objectLabel" value="Note Type"/>
  </bean>

<!-- Attribute Definitions -->


  <bean id="NoteType-noteTypeActiveIndicator" parent="NoteType-noteTypeActiveIndicator-parentBean"/>

  <bean id="NoteType-noteTypeActiveIndicator-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="true"/>
    <property name="shortLabel" value="Indicator"/>
    <property name="maxLength" value="1"/>
    <property name="control">
      <bean parent="CheckboxControlDefinition"/>
    </property>
    <property name="summary" value="noteTypeActiveIndicator"/>
    <property name="name" value="noteTypeActiveIndicator"/>
    <property name="label" value="Note Type Active Indicator"/>
    <property name="description" value="noteTypeActiveIndicator description..."/>
  </bean>
  <bean id="NoteType-noteTypeCode" parent="NoteType-noteTypeCode-parentBean"/>

  <bean id="NoteType-noteTypeCode-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="true"/>
    <property name="shortLabel" value="Code"/>
    <property name="maxLength" value="4"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern"/>
    </property>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="6"/>
    </property>
    <property name="summary" value="noteTypeCode"/>
    <property name="name" value="noteTypeCode"/>
    <property name="label" value="Note Type Code"/>
    <property name="description" value="noteTypeCode description..."/>
  </bean>
  <bean id="NoteType-noteTypeDescription" parent="NoteType-noteTypeDescription-parentBean"/>

  <bean id="NoteType-noteTypeDescription-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="true"/>
    <property name="shortLabel" value="Description"/>
    <property name="maxLength" value="100"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern"/>
    </property>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="102"/>
    </property>
    <property name="summary" value="noteTypeDescription"/>
    <property name="name" value="noteTypeDescription"/>
    <property name="label" value="Note Type Description"/>
    <property name="description" value="noteTypeDescription description..."/>
  </bean>
  <bean id="NoteType-versionNumber" parent="NoteType-versionNumber-parentBean"/>

  <bean id="NoteType-versionNumber-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="true"/>
    <property name="shortLabel" value="Number"/>
    <property name="maxLength" value="8"/>
    <property name="validationPattern">
      <bean parent="NumericValidationPattern"/>
    </property>
    <property name="control">
      <bean parent="TextControlDefinition" p:size="10"/>
    </property>
    <property name="summary" value="versionNumber"/>
    <property name="name" value="versionNumber"/>
    <property name="label" value="Version Number"/>
    <property name="description" value="versionNumber description..."/>
  </bean>

<!-- Business Object Inquiry Definition -->


  <bean id="NoteType-inquiryDefinition" parent="NoteType-inquiryDefinition-parentBean"/>

  <bean id="NoteType-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition">
    <property name="inquirySections">
      <list>
        <bean parent="InquirySectionDefinition">
          <property name="numberOfColumns" value="1"/>
          <property name="inquiryFields">
            <list>
              <bean parent="FieldDefinition" p:attributeName="noteTypeActiveIndicator"/>
              <bean parent="FieldDefinition" p:attributeName="noteTypeCode"/>
              <bean parent="FieldDefinition" p:attributeName="noteTypeDescription"/>
            </list>
          </property>
          <property name="title" value=""/>
        </bean>
      </list>
    </property>
    <property name="title" value="Note Type Inquiry"/>
  </bean>

<!-- Business Object Lookup Definition -->


  <bean id="NoteType-lookupDefinition" parent="NoteType-lookupDefinition-parentBean"/>

  <bean id="NoteType-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition">
    
    <property name="defaultSort">
      <bean parent="SortDefinition">
      </bean>
    </property>
    <property name="lookupFields">
      <list>
        <bean parent="FieldDefinition" p:attributeName="noteTypeActiveIndicator"/>
        <bean parent="FieldDefinition" p:attributeName="noteTypeCode"/>
        <bean parent="FieldDefinition" p:attributeName="noteTypeDescription"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="FieldDefinition" p:attributeName="noteTypeActiveIndicator"/>
        <bean parent="FieldDefinition" p:attributeName="noteTypeCode"/>
        <bean parent="FieldDefinition" p:attributeName="noteTypeDescription"/>
      </list>
    </property>
    <property name="title" value="Note Type Lookup"/>
  </bean>
</beans>
New to GrepCode? Check out our FAQ X