The validation code is contained in the generated descriptors and is checked at
run-time
by the Marshalling framework.
Separating the validation code from the generated bean is an old-time discussion, you
might find
some threads about that in the archive of the mailing list.
Arnaud
-> -----Original Message-----
-> From: Hedin, Mette [mailto:[EMAIL PROTECTED]]
-> Sent: Wednesday, September 26, 2001 2:30 PM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] SimpleType mapping
->
->
-> I noticed that you do not seem to map simple types to a class, but rather
-> just map the base type of the simple type, and use that in the generated
-> code. For example, in the most recent version of the
-> documentation on page
-> 48 and on, you map the simpleType PriceType to a java.math.BigDecimal.
-> Furthermore in the set method, you do not check the value in any
-> way. That
-> means that the constraints of the Price are never checked by the
-> code, and
-> hence the user must be aware of this constraint. Is that correct?
->
-> Mette Hedin
->
-> -----------------------------------------------------------
-> If you wish to unsubscribe from this mailing, send mail to
-> [EMAIL PROTECTED] with a subject of:
-> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev