<?xml version="1.0" encoding="UTF-8"?>
<definition xmlns="http://www.xmlportletfactory.org/xml/xmlportletfactory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xmlportletfactory.org/xml/xmlportletfactory xmlportletfactory.xsd">
	<commonData>
        <client>goodclient</client>
		<projectName>xmlpfIntegerRegexpExample</projectName>
        <version>1</version>
	</commonData>
	<applications>
		<application>
			<classDef>
				<name>IntegerRegexpExample</name>
				<title>Integer Field Example</title>
				<mode>
					<add>true</add>
					<delete>true</delete>
					<modify>true</modify>
					<browse>true</browse>
				</mode>
			</classDef>
			<fileDef>
				<name>integerRegexpExampleFile</name>
				<fields>
					<field>
						<name>exampleId</name>
						<title>Id</title>
						<type>
							<long>
								<length>5</length>
								<signed>false</signed>
								<nullable>false</nullable>
								<order>true</order>
							</long>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>true</required>
					</field>
					<field>
						<name>exampleDescription</name>
						<title>Description</title>
						<type>
							<varchar>
								<length>30</length>	
								<filter>true</filter>
								<order>true</order>
							</varchar>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>false</required>
					</field>
					<field>
						<name>integerField</name>
						<title>Integer Field</title>
						<type>
							<int>
								<length>5</length>
								<nullable>false</nullable>
								<regexp>integer_regexp</regexp>
								<order>true</order>
								<signed>false</signed>
								<zerofill>false</zerofill>
							</int>
						</type>
						<showFieldInView>true</showFieldInView>
						<required>true</required>
					</field>
				</fields>
			</fileDef>			
		</application>
	</applications>
</definition>