Hey Nando,

IMO, it's not at all a business object's duty to handle improperly
typed arguments being passed into it.  Its only concerns towards
validity should be validating the value of a properly typed argument
in regards to its own business logic.

I.e.,  if person.cfc shouldn't accept a birthdate in the future,
setBirthDate(date birthdate) should insure that this doesn't occur. 
Personally, I'd have it cfThrow an error on such a case, or have it
return false.

-joe
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to