svn commit: r959708 [2/2] - in /ofbiz/trunk/framework/entity: dtd/ fieldtype/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r959708 [2/2] - in /ofbiz/trunk/framework/entity: dtd/ fieldtype/

adrianc
Modified: ofbiz/trunk/framework/entity/fieldtype/fieldtypesybase.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/fieldtype/fieldtypesybase.xml?rev=959708&r1=959707&r2=959708&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/fieldtype/fieldtypesybase.xml (original)
+++ ofbiz/trunk/framework/entity/fieldtype/fieldtypesybase.xml Thu Jul  1 16:11:10 2010
@@ -22,42 +22,42 @@ under the License.
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/fieldtypemodel.xsd">
   <!-- ===================== field-type-def ==================== -->
     <!-- General Types -->
-    <field-type-def type="blob" sql-type="IMAGE" java-type="java.sql.Blob"></field-type-def>
-    <field-type-def type="byte-array" sql-type="IMAGE" java-type="byte[]"></field-type-def>
-    <field-type-def type="object" sql-type="IMAGE" java-type="Object"></field-type-def>
-
-    <field-type-def type="date-time" sql-type="DATETIME" java-type="Timestamp"></field-type-def>
-    <field-type-def type="date" sql-type="DATETIME" java-type="java.sql.Date"></field-type-def>
-    <field-type-def type="time" sql-type="DATETIME" java-type="java.sql.Time"></field-type-def>
-
-    <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble"/></field-type-def>
-    <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble"/></field-type-def>
-    <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble"/></field-type-def>
-    <field-type-def type="floating-point" sql-type="NUMERIC(18,6)" java-type="Double"><validate method="isSignedDouble"/></field-type-def>
-    <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong"/></field-type-def>
-
-    <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>
-    <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"></field-type-def>
-    <field-type-def type="id-vlong" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
-
-    <field-type-def type="indicator" sql-type="CHAR(1)" java-type="String"></field-type-def>
-    <field-type-def type="very-short" sql-type="VARCHAR(10)" java-type="String"></field-type-def>
-    <field-type-def type="short-varchar" sql-type="VARCHAR(60)" java-type="String"></field-type-def>
-    <field-type-def type="long-varchar" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
-    <field-type-def type="very-long" sql-type="TEXT" java-type="String"></field-type-def>
-
-    <field-type-def type="comment" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
-    <field-type-def type="description" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
-    <field-type-def type="name" sql-type="VARCHAR(100)" java-type="String"></field-type-def>
-    <field-type-def type="value" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
+    <field-type-def type="blob" sql-type="IMAGE" java-type="java.sql.Blob"/>
+    <field-type-def type="byte-array" sql-type="IMAGE" java-type="byte[]"/>
+    <field-type-def type="object" sql-type="IMAGE" java-type="Object"/>
+
+    <field-type-def type="date-time" sql-type="DATETIME" java-type="Timestamp"/>
+    <field-type-def type="date" sql-type="DATETIME" java-type="java.sql.Date"/>
+    <field-type-def type="time" sql-type="DATETIME" java-type="java.sql.Time"/>
+
+    <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"/>
+    <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"/>
+    <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"/>
+    <field-type-def type="floating-point" sql-type="NUMERIC(18,6)" java-type="Double"/>
+    <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"/>
+
+    <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"/>
+    <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"/>
+    <field-type-def type="id-vlong" sql-type="VARCHAR(255)" java-type="String"/>
+
+    <field-type-def type="indicator" sql-type="CHAR(1)" java-type="String"/>
+    <field-type-def type="very-short" sql-type="VARCHAR(10)" java-type="String"/>
+    <field-type-def type="short-varchar" sql-type="VARCHAR(60)" java-type="String"/>
+    <field-type-def type="long-varchar" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="very-long" sql-type="TEXT" java-type="String"/>
+
+    <field-type-def type="comment" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="description" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="name" sql-type="VARCHAR(100)" java-type="String"/>
+    <field-type-def type="value" sql-type="VARCHAR(255)" java-type="String"/>
 
     <!-- Specialized Types -->
-    <field-type-def type="credit-card-number" sql-type="VARCHAR(255)" java-type="String"><validate method="isAnyCard"/></field-type-def>
-    <field-type-def type="credit-card-date" sql-type="VARCHAR(20)" java-type="String"><validate method="isDateAfterToday"/></field-type-def>
-    <field-type-def type="email" sql-type="VARCHAR(255)" java-type="String"><validate method="isEmail"/></field-type-def>
-    <field-type-def type="url" sql-type="VARCHAR(255)" java-type="String"></field-type-def>
-    <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"><validate method="isNotEmpty"/></field-type-def>
-    <field-type-def type="id-long-ne" sql-type="VARCHAR(60)" java-type="String"><validate method="isNotEmpty"/></field-type-def>
-    <field-type-def type="id-vlong-ne" sql-type="VARCHAR(255)" java-type="String"><validate method="isNotEmpty"/></field-type-def>
-    <field-type-def type="tel-number" sql-type="VARCHAR(60)" java-type="String"><validate method="isInternationalPhoneNumber"/></field-type-def>
+    <field-type-def type="credit-card-number" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="credit-card-date" sql-type="VARCHAR(20)" java-type="String"/>
+    <field-type-def type="email" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="url" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"/>
+    <field-type-def type="id-long-ne" sql-type="VARCHAR(60)" java-type="String"/>
+    <field-type-def type="id-vlong-ne" sql-type="VARCHAR(255)" java-type="String"/>
+    <field-type-def type="tel-number" sql-type="VARCHAR(60)" java-type="String"/>
 </fieldtypemodel>